Skip to content

Instantly share code, notes, and snippets.

@andremarcondesteixeira
Last active December 17, 2019 18:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andremarcondesteixeira/9c3303bba7b123f9ef650e58887560af to your computer and use it in GitHub Desktop.
Save andremarcondesteixeira/9c3303bba7b123f9ef650e58887560af to your computer and use it in GitHub Desktop.
IPV4 validation regex
^(?: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