Last active
April 4, 2016 21:51
-
-
Save HeLiBloks/f41ae79db7e52e98509ad14e3fca0405 to your computer and use it in GitHub Desktop.
Regexp for each case
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
# Dates YYYY-MM-DD HH:MM:SS | |
grep -oP '[1-2][90][0-9]{2,2}([-/ ])[0-2][0-9]\1[0-2][0-9] [0-2][0-9]([:])[0-6][0-9]\2[0-6][0-9]' | |
# | |
perl -pe 's/[^[:ascii:]]//g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment