How to substitute all the '<' between the <\w*> and <\/w*> towhile(<DATA>){ s/<\w*>(.*)<\/w*>//g; } __DATA__ <p>Shouldn't I be allowed < to choose whom I want to associate with?< + Now, add the fact that my sister and her husband are still very < at +tached to my ex, as they should be. The problem is they now include " +her."</p> <span>Shouldn't I be allowed < to choose whom I want to associate with +?< Now, add the fact that my sister and her husband are still very < + attached to my ex, as they should be. The problem is they now includ +e "her."</span>
. I have to substitute all the characters '<' to '
' in between the <tags>.
In reply to substitute character by gem555
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |