I have an html snippet, and I want to remove any <span> tags that have a
specific attribute (class=none)
ex. The quick brown <span class="animal"> fox</span> jumped <span
class="none">ov er</span> the lazy dog
should become
The quick brown <span class="animal"> fox</span> jumped over the lazy dog
I'm guessing i need to use reg expressions, but I can't quite grasp how to
do this.
Thoguhts? Questions? Comments? Jokes? Humourous musings?
Alex
specific attribute (class=none)
ex. The quick brown <span class="animal"> fox</span> jumped <span
class="none">ov er</span> the lazy dog
should become
The quick brown <span class="animal"> fox</span> jumped over the lazy dog
I'm guessing i need to use reg expressions, but I can't quite grasp how to
do this.
Thoguhts? Questions? Comments? Jokes? Humourous musings?
Alex
Comment