For CamelCase / WikiCase : SEARCH = (?-is)([a-zA-Z])([a-zA-Z]+)|(|_)[a-zA-Z](|_)|[^a-zA-Z
]+
and REPLACE = u1L2
BEFORE Hi guys : o’nEil, and I, created A test. wHat DO you ThinK About IT? i QUITE like that mP3 Song! / ‘T_esT’ T-Est “aBc”.
AFTER HiGuysNeilAndCreatedTestWhatDoYouThinkAboutItQuiteLikeThatMpSongEstEstAbc
For lowerCamelCase : SEARCH = (?-is)([a-zA-Z])([a-zA-Z]+)|(|_)[a-zA-Z](|_)|[^a-zA-Z
]+
and REPLACE = u1L2
then : SEARCH = (?-is)([A-Z][a-z]+){2,}
REPLACE = l$0
BEFORE Hi guys : o’nEil, and I, created A test. wHat DO you ThinK About IT? i QUITE like that mP3 Song! / ‘T_esT’ T-Est “aBc”.
AFTER hiGuysNeilAndCreatedTestWhatDoYouThinkAboutItQuiteLikeThatMpSongEstEstAbc