|No such thing as a small change|
Regexp to match IP addressby Anonymous Monk
|on Aug 06, 2004 at 14:08 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
I want a quick and easy way to check if a value looks like an IP address, i'm happy just to check if the variable holds 4 numbers separated by dots.
So far I have got
Any better way of doing this?
20040808 Edit by castaway: Changed title from 'Perl regexp trickery'