street address validation regex code example
Example 1: address regex
\d{1,5}\s\w.\s(\b\w*\b\s){1,2}\w*\.
Example 2: regex for street address validation
[A-Za-z0-9'\.\-\s\,]
^[#.0-9a-zA-Z\s,-]+$
\\d+[ ](?:[A-Za-z0-9.-]+[ ]?)+(?:Avenue|Lane|Road|Boulevard|Drive|Street|Ave|Dr|Rd|Blvd|Ln|St)\\.?