Skip to content

Instantly share code, notes, and snippets.

@Omnikron13
Last active September 16, 2019 05:07
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 Omnikron13/0f42226d14971023d49f9fcefeb99636 to your computer and use it in GitHub Desktop.
Save Omnikron13/0f42226d14971023d49f9fcefeb99636 to your computer and use it in GitHub Desktop.
Anal CIDR Regex
^(?:(?:\d|[1-9]\d|1\d{2}|2[0-4]\d+|25[0-5])\.){3}(?:\d|[1-9]\d|1\d{2}|2[0-4]\d+|25[0-5])(?:\/(?:[0-9]|[1-2]\d|3[0-2]))?$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment