Last active
April 26, 2018 16:13
-
-
Save EinPinsel/97530939833069f198d597b94b5b51e5 to your computer and use it in GitHub Desktop.
This file contains 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
# Remove duplicate lines | |
^(.*)(\r?\n\1)+$ -> Replace with $1 | |
# Get the third octett of an IP-Adress: | |
\b\d{1,3}\.\d{1,3}\.\K\d{1,3}(?=\.\d{1,3}\b) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment