Hey,Good Monks.
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'