Thread: Regex examples
View Single Post
Old 06-27-2012, 02:27 AM   #99
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)
@DiapDealer

I am very pleased to report full success of your Regex ( I used the first one) which deleted successively in seven busy rounds: 53/22/7/5/2/2/2 occurrences of the <br /> tag.

This is only the top of the iceberg, because on the odt I previously manually destroyed probably about over one hundred. I did not know then I would use your regex.

For information, this is the styles break-up of the test EPUB (classes only):
Spoiler:

Code:
class="Textbody" 1676
class="frameGraphics" 66
class="let" 64
class="let2" 64
class="let1" 64
class="Centrage" 62
class="smcpTypeV" 46
class="smcpTypeA" 16
class="smcpDroite" 16
class="Header" 8
class="smcpCentrage" 6
class="Italdroite" 4

Last edited by roger64; 06-27-2012 at 08:53 AM.
roger64 is offline   Reply With Quote