Page 1 of 1

Subject Filter Question

PostPosted: Mon Nov 03, 2014 11:37 pm
by jeffpurser
Is there a way to filter out all subjects which have as the last 3 characters a period followed by two numbers?

Example = abyrewloph.11

Or is there a filter expression which will lock out all posters whose name starts with two digits followed by a period?

Example = 11.(followed by nonsensical string of characters)

for more examples, check out a.b.teevee.

Thanks.

Re: Subject Filter Question

PostPosted: Tue Nov 04, 2014 1:45 am
by Quade
"[.][0-9]{2}[\s$]"

"dot followed by 2 numbers followed by a space or end of line".

Would probably to the subject. I'd have to test it.

"^[0-9]{2}[.]"

Would probably do the poster.

You can test the subject RE's in the post list.

Re: Subject Filter Question

PostPosted: Wed Nov 05, 2014 3:26 pm
by jeffpurser
Could not get either to work.

Thanks anyway.

Re: Subject Filter Question

PostPosted: Wed Nov 05, 2014 3:39 pm
by jackholexxxx
The poster lockout worked for me: "^[0-9]{2}[.]"

Exit newsbin, add the string to the end of the PosterLockout.txt file in your data folder (add it without the quotes), restart newsbin.

Re: Subject Filter Question

PostPosted: Wed Nov 05, 2014 6:06 pm
by Quade
Well, first I'd try this one. The problem is it probably matches too much.

"[.][0-9]{2}"

then maybe try this one.

"[.][0-9]{2}[\"\s$]"

This one includes a trailing quote after the 2 numbers. Make sure you enter it without including the surrounding quotes.

Re: Subject Filter Question

PostPosted: Wed Nov 05, 2014 8:53 pm
by jeffpurser
Thanks to both of you.

I tried it again with the instructions jackholexxx gave and it did work for the poster.

And, Quade, as usual you are prompt with your help.