Quote:
Originally Posted by Turtle91
That’s what I do most of the time (regex)… BUT … you need to be very careful of nested tags especially if you are searching for <span>s because that regex will pickup the first end tag not necessarily the correct one.
As Diap mentioned, his plugin actually parses the html to avoid that issue.
|
I agree. I use Diap's plugin for divs and spans because it works better then risking regex.