Quote:
Originally Posted by DiapDealer
Obviously if you're trying to match multiple, numbered calibre classes, you'll still need some regex regardless.
|
I haven't used a Calibre conversion in a WHILE, but last I remembered, it was riddled with lots of calibre### classes. So I just was basing my Regex off of that assumption.
Sometimes people don't post all the information in their examples. Next, they will come back saying:
Quote:
Great, I was able to use that search and replace 255 times!
<p class="timebreak"> <br class="calibre1" /></p>\s*<p class="timebreak">
[...]
<p class="timebreak"> <br class="calibre255" /></p>\s*<p class="timebreak">
|
I remember I used to manually look up exactly what each calibre### class did, and then strip it out and/or remove the redundancy in the CSS... one at a time. (Oh, the horrors of my life before Regex)