(no this doesn't work)
should find your search, but check for the preceding closing tag bracket (however far back that may be) and ensure that there is no opening tag bracket in between there and the matching text.
Uses the power of negative lookarounds, see here:
http://www.regular-expressions.info/lookaround.html
(I checked for capital and lowercase, as you did not specify that you only wanted lowercase? Not sure if you forgot to check for uppercase or forgot to mention you were excluding them.)