How to do a not condition

Tips on writing regular expressions for searching the post list

Moderators: Quade, dexter

How to do a not condition

Postby gquiring » Sat May 21, 2005 9:37 am

I am trying to find files based on the word HOUSE and want to exclude HOUSEWIFE. I tried house ^housewife^ but it does not work. What is the syntax for a NOT condition.
User avatar
gquiring
Seasoned User
Seasoned User
 
Posts: 257
Joined: Sat Jun 28, 2003 8:39 am
Location: SC

Registered Newsbin User since: 07/02/04

Postby Kiltme » Mon May 23, 2005 3:59 pm

Newsbin doensn't have one. The find filters are only positive.

So you could try "house " or "house\."
User avatar
Kiltme
Seasoned User
Seasoned User
 
Posts: 638
Joined: Mon Jan 05, 2004 2:02 am

Registered Newsbin User since: 01/05/04

Postby itimpi » Mon May 23, 2005 5:01 pm

If you do it via a filter profile, then you have the ability have both reject and accept filters. In effect that would bypass trying to do the not condition in the regular expression.
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


Return to Regular Expressions

Who is online

Users browsing this forum: No registered users and 2 guests