php - Regex to match all closing HTML tags -
for reason, need remove closing html tags string in php, need regular expression match closing html tags. i'm extremely unexperienced regular expressions, tried using /\<\\.*\>/g
, /<\\.*>/g
, didn't work. should use instead?
please note want match closing html tags. opening html tags should remain untouched. in advance!
Comments
Post a Comment