Regex to remove HTML Tags
A friend of mine asked for a regex to remove all HTML tags from a webpage and to leave everything else, including what's between the tags and this is the regular expresion that I came up with for him:
s/<[a-zA-Z\/][^>]*>//gor
s/<(.*?)>//g
Another option is to strip out only certain tags and that can be done as:
</?(?i:script|embed|object|frameset|frame|iframe|meta|link|style)(.|\n)*?>