az0 / linkgopher

Firefox/Google Chrome add-on: Extracts all links from web page, sorts them, removes duplicates, and displays them in a new tab for inspection or copy and paste into other systems.
GNU General Public License v3.0
257 stars 56 forks source link

Filter by excluding a word? #68

Open dor2000 opened 9 months ago

dor2000 commented 9 months ago

Hi, great tool thanks! I was wondering if there was a way to extract the link that do not include a word, like "medium". I tried NOT, - (minus), ! Like NOT medium, -medium, !medium

I also saw that v3 was accepting RegEx, so I tried various variations of \b(?!medium\b)\w+

No success, though. Maybe there isn't any way but just curious (and think would be useful). Great tool anyway.

jadedgnome commented 8 months ago

i used linkgopher on this very page to exclude all matches of "linkgopher"

^(?!.*linkgopher).*$