Update:# assuming $_ has the string #234567890123456 => 16 characters /\d/*/^[\d.-]+$/
It'll return true, and if it does, $1 will have the untainted text.#23456789012345678 => 18 characters /\d/*/^([\d.-]+)$/
In reply to Re: Golf this reg ex
by japhy
in thread Golf this reg ex
by bradcathey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |