Last active
January 20, 2017 20:33
-
-
Save remotephone/5b1c212e20a9925362821a77a27f8300 to your computer and use it in GitHub Desktop.
Regexes to find some patterns
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
#Find some variations of months and seasons | |
grep -Ei 'j[a,A,@]nu[a,A,@]ry|f[e,E,3]bru[a,A,@]ry|m[a,A,@]rch|[a,A,@]pri[l,L,1]|m[a,A,@]y|jun[e,E,3]|ju[l,L,1]y|[a,A,@]ugu[s,S,$]t|[s,S,$][e,E,3]pt[e,E,3]mb[e,E,3]r|[o,O,0]ct[o,O,0]b[e,E,3]r|n[o,O,0]v[e,E,3]mb[e,E,3]r|d[e,E,3]c[e,E,3]mb[e,E,3]r|[s,S,$]umm[e,E,3]r|f[a,A,@][l,L,1][l,L,1]|w[i,I,1]nt[e,E,3]r|[s,S,$]pr[i,I,1]ng' | |
#Find variations of the word "password" | |
grep -Ei p[a-z,A-Z,@][s,S,$][s,S,$]w[o,O,0]rd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment