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