in reply to regex search and replace issue
Anonymous Monk has the right solution, but just wanted to add that you can simplify your regexes using character classes. You can replace all four with:
$Message =~ s/^[Dd][Bb] //;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: regex search and replace issue
by Utilitarian (Vicar) on Nov 11, 2011 at 08:57 UTC |