Hi
I have two text files, one containing a list of words (one per line) and one containing as bunch of sentences (one per line). For each word in the word file I want to list all the sentences in which it appears.
I've tried regular expressions and these don't seem to work too well. I have a feeling that
grepwill produce the results I want but am not too sure as to how I go about using it. Does anyone have a code snippet they could show me how to solve my problem?
Thanks in advance.
In reply to GREP/Regex - Locating Words in Sentences by snowy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |