regex: match string only if not part of a tag
Hi, I am trying to match a string only if it is not part of an html tag. For example when searching for the string: "abc". <a href="foo.html">abc def</a> should match <p> foo bar foo abc foo bar</p> should match but <a href="abc.html">foo</a> should not match. Thanks for the help! ...