Subscribe to RSS Feed

Hi,

Here is a fairly short regular expression you can use to match valid IPV4 IP addresses:
/^(((25[0-4])|(2[0-4][0-9])|(1?[0-9]?[0-9]))\.){3}((25[0-4])|(2[0-4][0-9])|(1?[0-9]?[0-9]))$/

Good luck!

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Slashdot
  • StumbleUpon
  • Twitter

Tags: , , , , ,

Leave a Reply