Community Patterns

Community Library Entry

1

Regular Expression
Created·2014-10-13 16:17
Flavor·PCRE (Legacy)

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

Description

Takes a string like 'ImageEditHRStuffSomeMOREStuff' and produces -> 'Image Edit HR Stuff Some MORE Stuff'

Submitted by Michael Keyser