use strip_tags() to remove tag attributes, in addition to tags
75808
Remove all attributes from html tags
153925
extra empty element when removing an element from a tuple
49542
Strip HTML from strings in Python
24533
Select elements with data attribute *not* using jQuery
113084
How to strip all array keys appended with :protected?
119785
jQuery remove attribute
137945
Using regex to remove HTML tags
157495
RegEx to return 'href' attribute of 'link' tags only?
109873
Simple HTML Dom: How to remove elements?
72284
How to strip a listing of all (line and block) comments without leaving white space?
46867
How do I unset an element's CSS attribute using jQuery?
46663
Ignore html tags in preg_replace
138723
How do I filter all HTML tags except a certain whitelist?
76493
Removing the comments from a string
31750
How to allow certain html tags?
94576
Removing unnecessary vertices?
124586
How to remove all comment tags from XmlDocument