How can I delete a <span>
tag from HTML page if it contains only comma?
Let's say I have 3 <span>
, all what i want is to remove the <span>
who has ONLY " , " as a content .
<span class"info">, </span>
<span class"info">information</span>
<span class"info">information</span>
Result: Delete this tag <span class"info">, </span>