Other Resources:
IP address validation
How to perform a validation on IP addresses using a regular expression? For example, "198.168.1.78" is an valid IP address.
✍: Guest
To perform a validation on IP addresses, try this regular expression:
^(([1-9]?\d|1\d{2}|2[0-4]\d|25[0-5]).){3}([1-9]?\d|1\d{2}|2[0-4]\d|25[0-5])$
2013-01-27, 0👍, 0💬
Popular Posts:
How to capture the Baidu spider entries from Web log file? Here are some Web log file entries: 127.0...
According to the IEEE 802 specification, a MAC address has 6 groups of 2 hexadecimal digits separate...
How to write a regular expression to validate GUID (Globally Unique IDentifier) or UUID (Universally...
All credit card numbers issued by American Express must start with 34 or 37 and have 15 digits. For ...
How to capture the MSN (Microsoft Network) bot entries from Web log file? Here are some Web log file...