in reply to Open to suggestions on a search and replace..
The "s" before the regexp is for substitue, and the "g" tells it to apply to the statement more than just once. That might be simpler than finding, removing, splitting, and joining. Nothing is a valid substitution candidate.$line =~ s/\<\*40\>//g;
|
|---|