View Single Post
 
Old 01-26-2014, 06:39 AM
tinfanide tinfanide is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2011
Posts: 312
tinfanide is on a distinguished road
Default

After a few trials and finally I got what you'd meant, well, that seems the trick you taught me:

1. Highlight (in yellow, for example) all the texts;
2. Find & Replace

Find: "[\<][ch][ts][ms][l\>]{1,2}"
Replace: "^&" (Format: Not Highlight)

3. Replace the same texts to be found without highlight (un-highlight)
4. Find & Replace

Find: "*" (Format: Highlight)
Replace: ""

It will replace all the texts (highlighted, and those are texts excluding "<html>" or "<css>") with nothing (same as deleting them)

It works wonders. Thank you.
Reply With Quote