Yes there is : Use Regexp::Common
use Regexp::Common qw /net/; /^$RE{net}{IPv4}$/; # Results in $1 .. $5 .. Please RTFM for details.
"An undefined problem has an infinite number of solutions." - Robert A. Humphrey "If you're not part of the solution, you're part of the precipitate." - Henry J. Tillman
In reply to Re: Validating IP Address
by NetWallah
in thread Validating IP Address
by SR
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |