Regular Expressions 101

Library entries

Proper-case word separator

Vote

1

Regular Expression
pcre

/
(?<!^)((?:[A-Z](?=[a-z]))|(?:[A-Z]{2,}(?=[A-Z][a-z])))
/
gm

Description

Loading markdown...
Submitted by Michael Keyser - 7 years ago