Is there a way to make grep output \"words\" from files that match the search expression?
If I want to find all the instances of, say, \"th\" in a number of files, I
Here are the example using ripgrep:
ripgrep
rg -o "(\w+)?th(\w+)?"
It'll match all words matching th.
th