Quote:
Originally Posted by Mister L
Example:
<span class="Cap">F</span><span class="SmallCap">IRST WORD OF THE SENTENCE IS ALWAYS CAPITALISED,</span> <span class="Cap">O</span><span class="SmallCap">THER</span> <span class="Cap">W</span><span class="SmallCap">WORDS IN THE SENTENCE MAY OR MAY NOT BE CAPITALISED</span>
Desired result :
First word of the sentence is always capitalised, Other Words in the sentence may or may not be capitalised.
Actual result:
First word of the sentence is always capitalised,</span> <span class="cap">o</span><span class="smallcap">ther</span> <span class="cap">w</span><span class="smallcap">words in the sentence may or may not be capitalised
|
That's not the result that I'm getting. With:
Find:<span class="Cap">(.)</span><span class="SmallCap">(.*?)</span>
Replace:\1\L\2\E
I'm getting:
First word of the sentence is always capitalised, Other Wwords in the sentence may or may not be capitalised
(None of the Regex options are checked.) You'll need to uncheck the Minimal Match option.