in reply to Regex Epiphany
That explains why your previous regex won't work, but why did you fix it by still matching a location other than what you want to remove?
$value =~ s/ \(.*\)$//;
Makeshifts last the longest.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Regexp Epiphany
by Sigmund (Pilgrim) on Aug 27, 2004 at 09:42 UTC |