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 write a regular expression to parse key-value entries from Windows .INI files? Here is an exa...
How to capture the Soso Spider entries from Web log file? Here are some Web log file entries: 127.0....
How to capture the Baidu spider entries from Web log file? Here are some Web log file entries: 127.0...
A free online regular expression test tool that allows to try you regular expression pattern and see...
How to capture the Baidu spider entries from Web log file? Here are some Web log file entries: 127.0...