Hi, Your regex $original_text=~ s/(><=\d)mp\b//g; is not complete. You do have have a replacement string. Try this instead. $original_text=~ s/(.+)mp/$1/g;
Sriram
In reply to Re^3: REGEX Help
by rsriram
in thread REGEX Help
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |