Regular Expressions 101

Community Patterns

two words with atleast one starting with digit

0

Regular Expression
PCRE (PHP <7.3)

/
^[\d]+[a-zA-Z]*\s+[a-zA-Z]+\b|^[a-zA-Z]+\s+\b[\d]+[a-zA-Z]*\b$
/

Description

3rd Street / house 2b - pass

Submitted by anonymous - 8 years ago