Filter ((

Tips on writing regular expressions for searching the post list

Moderators: Quade, dexter

Filter ((

Postby deebee » Sun Feb 12, 2012 8:52 pm

I need to create a filter based on the From: field
teevee@4u.tv (teevee) is valid while teevee@4u.tv ((teevee)) is invalid
Can't figure out how to filter out the second one without it filtering out the first one.

Thanks in advance
deebee
Occasional Contributor
Occasional Contributor
 
Posts: 19
Joined: Mon Feb 09, 2009 3:20 pm

Registered Newsbin User since: 10/02/08

Re: Filter ((

Postby Quade » Sun Feb 12, 2012 10:19 pm

[(]{2}teevee[)]{2}

Would probably do it. It means "two parens to start, "teevee" two parens to close"

You have to escape the parens because they have a special meaning in the filter language (regular expressions).

Right click "Delete all Posts by Poster" should kill them, too but, till you download new headers.
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

Re: Filter ((

Postby deebee » Mon Feb 13, 2012 12:06 am

Perfect. Thanks
deebee
Occasional Contributor
Occasional Contributor
 
Posts: 19
Joined: Mon Feb 09, 2009 3:20 pm

Registered Newsbin User since: 10/02/08

Re: Filter ((

Postby nikkil » Tue Nov 27, 2012 12:00 pm

Hi. Does this process also apply with the current version? I think I'm missing something here.
You're never a loser until you quit trying. Image
nikkil
Active Participant
Active Participant
 
Posts: 50
Joined: Sun Feb 26, 2012 2:39 pm


Return to Regular Expressions

Who is online

Users browsing this forum: No registered users and 2 guests