Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save franzramadhan/6df187aedeb581774cd2e1e1842fdb71 to your computer and use it in GitHub Desktop.
Save franzramadhan/6df187aedeb581774cd2e1e1842fdb71 to your computer and use it in GitHub Desktop.
Regex to Get IP Address
grep -oE "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment