I\'m parsing some messy HTML code with PHP in which there are some redundant tags and I would like to clean them up a bit. For instance:
&
Try with:
preg_replace('//', '', $inputString);