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'
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
Post a Comment