this post was submitted on 08 Mar 2026
6 points (100.0% liked)

uBlockOrigin

96 readers
3 users here now

founded 9 months ago
MODERATORS
 

Hello friends, I have a filter I use to block posts containing keywords in their titles. The problem is, they won't work if the keyword appears at the very beginning of the post's title. This is the filter:

lemmy.world##article.row:has-text(/\bKeyWord1\b|\bKeyWord2\b|\bKeyWord3/i)

I've tried ^KeyWord, and that doesn't work either. And I'm now at the limits of my knowledge!

Any tips?

Cheers!

you are viewing a single comment's thread
view the rest of the comments

[\b^] won't work โ€” I assume you meant something like (\b|^). That shouldn't change anything either though, as \b is explicitly defined to match (^|$).