Last active
December 17, 2019 18:57
-
-
Save andremarcondesteixeira/9c3303bba7b123f9ef650e58887560af to your computer and use it in GitHub Desktop.
IPV4 validation regex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
^(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)){3}$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment