Originally Posted by theducks
Most Mixed case switches I have used require that you start with lower case.
so you could do this in 2 passes ( put a unique marker pair as part of the first replace)
AND THE WORLD WAS FLAT
+and the world was flat+
Now search for the pair \+(.+?)\+
and perform your magic
|