Hi Gerd, It was foretold that on Tuesday, December 11, 2001 at 10:42 GMT +0100, Gerd Ewald [GE] would type:
>> '123.456.789.698' as you have no chance to validate the number is >> between 0 & 255 (including), but it's quite sure better than nothing :-) GE> Why not using [012][0-5][0-5] if it is always a three-digit number GE> (else you have to use alternatives...) That regular expression won't catch all three digit numbers between 0 and 255, it will catch all numbers from: 000-055, 100-155, 200-255 You're missing ranges. One that might work better is: (\d|\d\d|[01]\d\d|2[0-5][0-5])\D Of course this is significantly more complicated, but it should work for any number between 0 and 255. The added bonus is it isn't limited to 3 digit numbers. -- Thanks for writing, Januk Aggarwal Despite these words, this page is blank. -- ________________________________________________________ Archives : http://tbudl.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] TBTech List: mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED] Latest Vers: 1.53d FAQ : http://faq.thebat.dutaint.com

