I am trying to perform a grep search with the word "chase", but I keep getting thousands of hits like "purchase". How do I write the grep expression to for the word "chase" only? I would need a space before and after the word.
Assistance would be greatly appreciated.
Couple of simple ones for that i'd use in encase would be
[^U]chase (ie any occurance of chase, thats not preceeded by u - to prevent hits of purchase)
or
[^A-Z]chase[^A-Z] (any occurance of chase without the letters a to z immediately before or after it)
Rich
Hi,
Even simpler would be to put in the space before and after the word so you'd use " chase " as opposed to "chase". EnCase will treat the space as a space.
Rich2005's answer is cleverer though, if you want to look at the results you have got and just exclude what might be just 2 or 3 common irrelevant hits.
Steve
Thanks for the feedback I will give your recommendations a try.
I did some searching on google and also found "[ ]chase".
And noticing that im a complete idiot, i spazzed up the first grep. Which should have been [^R]chase (as r is the letter before c in purchase!) roll
Going through about a bazillion videos today and my mind has turned to mush ?
Fair to say that any one in this game whose mind doesn't turn to mush at least once a week is not doing much work. D D D
You can also do ( Chase )
Put a space in the paren's before and after word.