I want to find in a list of words, every words with a least 3 times the same letter in it. To achieve that I did .*(w).*1.*1.*1.* and you can test it here http://www.regexplanet.com/advanced/java/index.html but I don’t know how to put it in my zgrep command. How can I insert this regex in a zgrep command ? Answer A couple
Tag: zgrep
How to use zgrep and regular expression?
I’m trying to do some research in a .gz file so I found out I should use zcat / zgrep now after a bit of research I can’t figure out how to use a regex with zgrep I tried to do it like this zgrep ‘[sS]{10,}’ a.gz but nothing comes out even if there are string of minimum 10 characters