Hope it helps...$_ = 'my father-in-law is a chemist who is currently working with &alp +ha;phenol-acetate.'; s/\b-\b/<->/g; print;
In reply to Re: Regex not matching &
by CombatSquirrel
in thread Regex not matching &
by murugu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |