Regular Expressions 101

Community Patterns

Community Library Entry

11

Regular Expression
PCRE (PHP <7.3)

/
[0-9]+\s*([a-zA-Z]+\s*[a-zA-Z]+\s)*[0-9]*
/

Description

Check for true or false street address format

Submitted by Dilip Borad - 11 years ago