Page 1 of 1

Help please for regex to omit all posts with ARK in subject

PostPosted: Wed May 04, 2005 7:40 pm
by OldBoy
I have read http://www.newsbin.com/nb33help/regexp.htm

But I am struggling to write a Newsbin regex which will omit all posts with ARK in the subject. This is for use in the filter box with the Find button. I am on NB 4.32.

[^A][^R][^K] does not seem to work.

Nor does [^ARK].

What regex should I use?

PostPosted: Wed May 04, 2005 9:48 pm
by dexter
Perl RE doesn't really have a "not". Easiest way to do this is put in a reject filter under Subject Filters for a Filter Profile.

PostPosted: Sun May 08, 2005 5:32 am
by OldBoy
dexter wrote:Perl RE doesn't really have a "not". Easiest way to do this is put in a reject filter under Subject Filters for a Filter Profile.


The way I work, I would much prefer not to have to change filters.

Is there no expression in regex which will show all posts which do *not* have the string 'ARK' (without quotes) in the subject?

Maybe ARK can be defined in regex as a single string (how?) and then the negation of that string used as a filter. Or something like that?

Can anyone advise.

PostPosted: Mon May 09, 2005 6:06 pm
by Kiltme
Regex (generic) supports a NOT command to exclude things.

Newsbin's implementation doesn't, so no you can't have an exclusion find.

The closest would be to select everything with ARK and mark-as-read then process the rest.

Since you're doing this in the find box you're obviously not do autodownload where you could just put it in the exclude subject filter.