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.
In reply to Re: Regexp Epiphany
by Aristotle
in thread Regex Epiphany
by Sigmund
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |