in reply to Multiple Regex, it works but it aint clever
As for the dollar currencies, mind out because at the moment I think you've forgotten to escape a $ sign in $long =~s/\s+$//g;. I think you could catch all of 'em--C$, AU$, plain $, etc--with something like s/([\s+]?\$)[^,]+//g. (This may not be exactly right, but perhaps another helpful monk could put it right if it's not).
HTH
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Multiple Regex, it works but it aint clever
by {NULE} (Hermit) on Aug 06, 2002 at 12:51 UTC | |
|
Re: Re: Multiple Regex, it works but it aint clever
by alexiskb (Acolyte) on Aug 06, 2002 at 13:37 UTC |