in reply to Regex not matching &

How about this:
$_ = 'my father-in-law is a chemist who is currently working with &alp +ha;phenol-acetate.'; s/\b-\b/<->/g; print;
Hope it helps...
CombatSquirrel.
Entropy is the tendency of everything going to hell.