I have the following Java code:
str = str.replaceAll(\"<.*?>.*?|<.*?/>\", \"\");
This turns a String like so:
"How now brown cow.".replaceAll("<[^>]+>", "")