Quote:
Originally Posted by DNSB
Unfortunately, your regex does horrible things if you have nested spans:
|
Well, I wasn't claiming that my regex was a one-stop fix for the entire book. I could only go by the sample he provided and I did not spot a "<span class=text_17">" class in the example.
It's more of a multi-step process, which is why I further stated "Then look at what is leftover and figure out what it does and either leave it, replace it or remove it." But at each step, you get to see what is being removed and if it is appropriate to remove it.