Possible to search for terms but exclude links?

I’ve been trying to figure out if it’s possible to do a search for a term but not include instances of that term that appear in links/backlinks. This would be useful to isolate where that term is included in a note in a ‘primary way’ (as opposed to through linking system).
I hope this is clear.
Any thoughts or suggestions?