Thread: Regex examples
View Single Post
Old 10-25-2012, 12:58 AM   #157
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Now that Sigil has a nice Search Editor, I can add some more regex.
I would like to set up this one:

It's about superscript text:

The text me mes lle lles er e o placed within a sup tag and followed by a normal space should instead be followed by a  

Say <sup>me</sup>(normal space) should be replaced by
<sup>me</sup>&nbsp;

(me, lle are superscript short for M(adame), M(ademoiselle)...

I hope I have been clear enough...
roger64 is offline   Reply With Quote