Roink, Thanks for the solution. Following is working to check proper ip & port. I found this from regexlib.com. But still need to do varification for port as 0,00,000, etc or 0*. @"^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5]):(\d{1,4}|[0-5]\d\d\d\d|[0-5]\d\d\d\d|6[0-4]\d\d\d|65[0-4]\d\d|655[0-2]\d|6553[0-5])$" Thanks & Regards, Aniket A. Salunkhe
modified on Wednesday, December 3, 2008 4:47 AM