Quote Originally Posted by Doogle View Post
Why on earth would you want to do this ?

If the user enters: '10.260.250.50' for example, what would you expect as the output?
Kaboom!

If OP is smart enough he would insure that the second and third numbers are no greater than 245