Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
11-05-2009, 11:35 AM #1
- Join Date
- Sep 2004
- Thanked 0 Times in 0 Posts
Remove HTML tags with a certain CSS class applied
I have a string with lots of HTML stored in it. Within the code there are some <span> tags with the class "es" applied to them. Is is possible to remove these tags, including removing all text contained within them. Here is an example:
<span class="es">Useless example text</span>
Your help would be much appreciated!