Computers user IP addresses to communuicate with eachother via the internet. The old protocol IP version 4 has addresses which are well readable by humans. These are four numbers from 0 to 255 which are divided by a dot.
To match all IP addresses, first you can develop the expression to match the numbers from 0 to 255.
- 0
- 6
- 56
- 100
- 156
- 196
- 201
- 255
- 256
- 301
- 2000
- 00
If you do not succeed, you can use this expression and adapt it. ^(X|2[0-4]\d|25[0-5])$
Next Step