|Problems? Is your data what you think it is?|
Regular Expression to Match IP Addressby sashac88 (Beadle)
|on Oct 03, 2004 at 11:38 UTC||Need Help??|
sashac88 has asked for the
wisdom of the Perl Monks concerning the following question:
I'm trying to write something simple that will accept
values from <STDIN> only if the value is in IP format,i.e.
only if it's four numbers 0-255 separated by dot.
Actually I only need a way to restrict to input of numbers 0-255 ,since [0-9] or \d won't help me -too wild. Please help .
Janitored by Arunbear - retitled from 'Regular Expression'