However, that solution depends on the HTML being properly formatted, and nasty things can happen if it is not, such as when I copied and pasted your HTML that was missing the closing quotes in a couple of the href attributes.
A more robust solution would be to use the DOM functions to find each div of class "showtimes" and then within them finding each each <a> element, going through contortions to get the text value of each <a>, removing the <a> element and inserting the text, but I'm way too lazy to do that for you right now.
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
Bookmarks