regular expression for home address code example Example: address regex \d{1,5}\s\w.\s(\b\w*\b\s){1,2}\w*\.