Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

~
/^[a-zA-Z].+\s\d$/
~
gm

Description

match strings with some optional characters

Submitted by anonymous - 2 years ago (Last modified a year ago)