in reply to Re: find and replacein thread find and replace
Word boundaries (\b) are zero-width, so you shouldn't capture them. ($1 and $2 will always be empty in your last line.)
Thus, $myin =~ s/\b$full\b/$abb/g; is sufficient.