Regular Expressions 101

Community Patterns

Pascal Case - digits allowed - Upto 3 upper case letters

0

Regular Expression
ECMAScript (JavaScript)

/
^[A-Z](([A-Z]{1,2}[a-z0-9]+)+([A-Z]{1,3}[a-z0-9]+)*[A-Z]{0,3}|([a-z0-9]+[A-Z]{0,3})*|[A-Z]{1,2})$
/
gm

Description

Loading markdown...
Submitted by anonymous - 2 years ago