If you have the time, a simple explanation would be educational. TIAmy $number = "..2314-1234123."; if ($number =~ /\d/*/^([\d.-]+)$/ ) { print "$1\n"; }
In reply to Re: Re: Golf this reg ex
by bradcathey
in thread Golf this reg ex
by bradcathey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |