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