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>
I basically want to remove all instances of these.

Your help would be much appreciated!