I want to do a search of multiple XML files that returns hits for "foo", but not "foo.com" or "foo<\"

0 votes

Basically I'm looking for where people did not use the variable they were supposed to use for the company name. I do want the hits if "foo" occurs in the same line as "foo.com" or "foo<\".

asked May 25, 2016 by GrantH (30 points)

1 Answer

0 votes

Using regular expression lookahead functionality should solve your problem, something like this:

answered May 25, 2016 by dave (50,950 points)