regex - Use grep to find strings with consecutive same letters -


how use grep -ie find strings 2 groups of consecutive same letters. 2 groups not overlap. grep e allowed.

already found answer:

grep -ie '([a-z])\1.*([a-z])\2' 

Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

android - How to prevent keyboard from closing when bottom dialog is open? -