Regular Expressions 101

Community Patterns

Match CamelCase

0

Regular Expression
PCRE2 (PHP >=7.3)

/
([a-z0-9]|(?=[A-Z]))([A-Z])
/
gm

Description

Matches PascalCase or CamelCase

Submitted by anonymous - 2 years ago