Skip to content

Instantly share code, notes, and snippets.

@demogorgonz
Created October 11, 2018 13:45
Show Gist options
  • Save demogorgonz/6b68c9395d91b7aab42d1974f79f58ad to your computer and use it in GitHub Desktop.
Save demogorgonz/6b68c9395d91b7aab42d1974f79f58ad to your computer and use it in GitHub Desktop.
IP:PORT regex
\b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?):\d{1,5}\b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment