Regular Expression help in v5.05B2

Tips on writing regular expressions for searching the post list

Moderators: Quade, dexter

Regular Expression help in v5.05B2

Postby TrevorRiley » Mon Oct 06, 2008 4:20 am

I'm probably being really dumb here but help!

I'm trying to filter out the piles of trojans currently doing the rounds in many groups, for example a subject header of :-

(APPZ) Uploaded by datacore- "blah blah"

So I have a filter setup as ^\(APPZ\).Uploaded.*

I've added this profile to each of the groups but it simply won't work, In one case it just filtered everything out even things that didn't even slightly match, what am I doing wrong?
TrevorRiley
Occasional Contributor
Occasional Contributor
 
Posts: 11
Joined: Thu Jun 29, 2006 2:32 pm

Postby itimpi » Mon Oct 06, 2008 6:04 am

I cannot see anything obviously wrong.

- Did you make this a reject or an accept filter?
- It is probably easiest to test filters by loading one of the groups into a Post List and using the RegEx you are testing as a Find filter there. Allows much quicker testing.
The Newsbin Online documentation
The Usenettools for tutorials, useful information and links
User avatar
itimpi
Elite NewsBin User
Elite NewsBin User
 
Posts: 12607
Joined: Sat Mar 16, 2002 7:11 am
Location: UK

Registered Newsbin User since: 03/28/03

Postby TrevorRiley » Mon Oct 06, 2008 6:14 am

Hi

I made it a reject filter

There are also ones that start "Uploaded by somejerk"

So I added a filter of ^Uploaded by.*

This doesn't work either
TrevorRiley
Occasional Contributor
Occasional Contributor
 
Posts: 11
Joined: Thu Jun 29, 2006 2:32 pm


Return to Regular Expressions

Who is online

Users browsing this forum: No registered users and 2 guests