Displaying page
of
pages;
Items to
Title |
Test
Details
Pattern Title
|
Expression |
^((25[0-4]|(2[0-4]|1[0-9]|[1-9]?)[0-9]\.){3}(25[0-4]|(2[0-4]|1[0-9]|[1-9]?)[0-9]))$
|
Description |
This Regular Expression matches all valid ip-patterns.
01.02.03.04 is not matched, as leading zeros is not valid a ip-pattern.
255.255.255.0 is not matched, as 255 is a broadcast identifier, and as such not allowed in ip-patterns.
|
Matches |
192.168.10.4 | 130.225.56.40 | 127.0.0.1
|
Non-Matches |
01.02.03.04 | 255.255.255.0 | abc.def.ghi.jkl
|
Author |
Rating:
Mikko Rasanen
|
Displaying page
of
pages;
Items to