Here, you can test the regular expression which matches IP addresses. Therefore, you can use the expression to match number from 0 to 255 from earlier.
- 6
- 399.0.0.0
- 0...1
- 0.0.0.0
- 0.0.0.0.
- .0.0.0.0
- 192.168.0.1
- 10.255.255.255
- 192-168-0-1
- 10.255.255.255.255