Regular Expressions 101

Community Patterns

Community Library Entry

3

Regular Expression
PCRE (PHP <7.3)

/
(?<=[a-zA-Z])(?=[A-Z])
/
g

Description

Takes any camel case and returns it plus spaces.

Submitted by Rougeware - 9 years ago