Tips on writing regular expressions for searching the post list
Moderators: Quade, dexter
by pher » Sun Sep 22, 2002 5:02 am
I would like to filter posts containing a given word, say "mecha" either in the subject OR in the filename. Is it possible ?
pher
-
pher
- Occasional Contributor
-
- Posts: 11
- Joined: Sun Apr 28, 2002 11:39 am
by dexter » Sun Sep 22, 2002 7:38 am
Yes, just put "mecha" (without the quotes) as the reject string in the subject and filename filter sections of the filters menu. If either match, the post fill be filtered.
-
dexter
- Site Admin
-
- Posts: 9514
- Joined: Fri May 18, 2001 3:50 pm
- Location: Northern Virginia, US
Registered Newsbin User since: 10/24/97
-
by pher » Mon Sep 23, 2002 11:34 am
Thank you, but I asked the wrong question: I would like to ACCEPT the posts whose name OR subject contains "mecha". Is there an AND or an OR clause between the Filename and the Subject Filters ?
pher
-
pher
- Occasional Contributor
-
- Posts: 11
- Joined: Sun Apr 28, 2002 11:39 am
by dexter » Mon Sep 23, 2002 11:48 am
It is automatically an AND between Subject and Filename filters. If it is in the subject first AND in the filename second, then accept it.
-
dexter
- Site Admin
-
- Posts: 9514
- Joined: Fri May 18, 2001 3:50 pm
- Location: Northern Virginia, US
Registered Newsbin User since: 10/24/97
-
Return to Regular Expressions
Who is online
Users browsing this forum: No registered users and 23 guests