What I’m trying to do
I am using a web clipper that imports webpages. Many of these are Wikipedia pages. Wikipedia pages almost always include a bunch of URLs with the format /wiki/pagename
. I’d like to exclude just these URLs—i.e., ones that that contain “wiki” in their string—from my Graph View, but keep the rest.
Things I have tried
Over an hour (a) searching this forum, reddit, and Google for an answer; and (b) experimenting with regular expressions and such but with no success. Using -file:wiki
and -path:wiki
get rid of too much, such as existing files that have “wiki” in their names. Adding the slash—e.g., using -path:/wiki
—ends up excluding nothing. Escaping the slash with backslash doesn’t make any difference.