Filter help

Tips on writing regular expressions for searching the post list

Moderators: Quade, dexter

Filter help

Postby mankind99uk » Thu Feb 05, 2009 2:08 pm

Hi,

With all the warez posts that are being cross-posted on Usenet, I'm hoping that some kind Newsbin user who understands this regex stuff (total double-dutch to me :D ) can help with filter's that will combat the problem.

How do you filter the word warez anywhere in a post?

Filter the word exe anywhere, for example some posts have
filename.exe, others filename .exe (the space is deliberate) and filename.exe"

Thanks
User avatar
mankind99uk
Active Participant
Active Participant
 
Posts: 63
Joined: Fri Jun 18, 2004 1:03 pm

Registered Newsbin User since: 06/18/04

Postby Quade » Thu Feb 05, 2009 2:23 pm

In the subject reject section, you'd add "[.]exe" and the word "warez" to another line. "[.]extension" will work for any extension. Say you want to filter jpg's out in your pron movie group "[.]jpg".

RE's are just straight matching for simple stuff so, single words will match if you add them.

These posts aren't warez, they're viruses and trojans.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44972
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Postby mankind99uk » Thu Feb 05, 2009 2:34 pm

I know that they're all viruses and other nasties that's why I want to filter them!

I'll try your suggestions and see how I get on.
User avatar
mankind99uk
Active Participant
Active Participant
 
Posts: 63
Joined: Fri Jun 18, 2004 1:03 pm

Registered Newsbin User since: 06/18/04


Return to Regular Expressions

Who is online

Users browsing this forum: No registered users and 2 guests