RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find IP validation
Expression
^(?:(?:1\d{0,2}|[3-9]\d?|2(?:[0-5]{1,2}|\d)?|0)\.){3}(?:1\d{0,2}|[3-9]\d?|2(?:[0-5]{1,2}|\d)?|0)$
Description
Valiadation IP RegExp.
Matches
192.168.1.92 | 172.16.4.0 | 255.255.255.255
Non-Matches
1923.0.1.2 | 256.1.1.2
Author Rating: The rating for this expression. Asen Bozhilov
Source
Your Rating
Bad Good

Enter New Comment

Title

Name

Comment

Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Title: Error con algunas IPs
Name: Delpi
Date: 10/24/2016 12:19:19 AM
Comment:
No funciona con IPs del tipo 10.137.248.46


Copyright © 2001-2025, RegexAdvice.com | ASP.NET Tutorials