0

I am trying to search all files for the string 111 and only that. Strings as #111 or 13211123 should not be found.

I tried:

grep -rE "1{3}" .

But this is not what I need, I really need to find only 111 nothing in front of it and nothing behind.

Ideas? Thanks!

melpomene
  • 84,125
  • 8
  • 85
  • 148
Arnie
  • 661
  • 9
  • 20

0 Answers0