Filters: regular expression to match multiple keywords

Support requests, bug reports, etc. go here. Dedicated servers / VDS hosting only
mikkelnl
Bear Rating Trainee
Bear Rating Trainee
Posts: 15
Joined: 06 Apr 2013, 20:20

Filters: regular expression to match multiple keywords

Postby mikkelnl » 31 Mar 2015, 12:20

Hi all,

I'm trying to make a filter that will search feed contents for 3 keywords (all words should be present; AND), but I'm not that great with regular expressions :oops:

I know this functions as 'OR': (keyword1|keyword2|keyword3)

In this example, how could I setup the reg ex so that it will function more like AND instead of OR?

Thanks!

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Filters: regular expression to match multiple keywords

Postby fox » 31 Mar 2015, 12:33

easiest way: make 3 rules, set to match all

mikkelnl
Bear Rating Trainee
Bear Rating Trainee
Posts: 15
Joined: 06 Apr 2013, 20:20

Re: Filters: regular expression to match multiple keywords

Postby mikkelnl » 31 Mar 2015, 12:34


mikkelnl
Bear Rating Trainee
Bear Rating Trainee
Posts: 15
Joined: 06 Apr 2013, 20:20

Re: Filters: regular expression to match multiple keywords

Postby mikkelnl » 31 Mar 2015, 19:09

Could anyone tell me what the reg ex would be for exact words?

I'd like to avoid triggering content for the word 'Preview' and only have the trigger happen when 'Review' is found. I tried a few expressions but can't get it to work :)

JustAMacUser
Bear Rating Overlord
Bear Rating Overlord
Posts: 373
Joined: 20 Aug 2013, 23:13

Re: Filters: regular expression to match multiple keywords

Postby JustAMacUser » 31 Mar 2015, 19:22


mikkelnl
Bear Rating Trainee
Bear Rating Trainee
Posts: 15
Joined: 06 Apr 2013, 20:20

Re: Filters: regular expression to match multiple keywords

Postby mikkelnl » 31 Mar 2015, 19:27


JustAMacUser
Bear Rating Overlord
Bear Rating Overlord
Posts: 373
Joined: 20 Aug 2013, 23:13

Re: Filters: regular expression to match multiple keywords

Postby JustAMacUser » 31 Mar 2015, 23:53


mikkelnl
Bear Rating Trainee
Bear Rating Trainee
Posts: 15
Joined: 06 Apr 2013, 20:20

Re: Filters: regular expression to match multiple keywords

Postby mikkelnl » 31 Mar 2015, 23:57



Return to “Support”

Who is online

Users browsing this forum: No registered users and 13 guests