Regular Expressions 101

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^[A-Z]+((\ [A-Z\.]+)|(\ *\([A-Z]+\)))*
/
g

Description

Upper Case words with possible parantheses and abbreviation

Submitted by anonymous - 7 years ago