🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #166620

Re: [Dialog] Simple filter question, but I'm dumb

#166620
From: Disciple
Date: Wed, 11 May 2005 16:44
30 lines
2161 bytes
On Wed, 11 May 2005 14:02:58 GMT, Tucci wrote:

> I've tried numerous variations of deleting threads with certain keywords in
> the subject lines that are off-topic but I just don't get it.
> 
> Is this how I would delete any thread that has any of these buzzwords:
> 
> !delete Subject "Bush War Iraq Clinton Kerry Viagra Make Money FoxNews CNN"
> 
> Thanks for any help, my mind just shuts down when I try reading about
> regular expressions.

I know what you mean about regex, regular expressions. I found a program
called RegexBuddy, http://www.regexbuddy.com, to be worth it's small price
when composing and troubleshooting expressions. 

I believe this regex will do what you want:

Bush|[Ww]ar|Iraq|Clinton|Kerry|[Vv]iagra|[Mm]ake [Mm]oney|FoxNews|CNN

Which will look like this in Dialogs Scoring and Actions window:

!delete Subject Bush|[Ww]ar|Iraq|Clinton|Kerry|[Vv]iagra|[Mm]ake
[Mm]oney|FoxNews|CNN

Don't let the line wrap throw you, it should all be on one line. The [Ww],
[Vv], and [Mm] will filter those words with either upper/lower case.
-- 
Disciple
Do not be deceived; "Bad company corrupts good morals."   1Cor. 15:33
Technical Details
Message-ID: <d5tcpd01apo@enews1.newsguy.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews1
References: <meiefrgvr7wj.o29tbzp1s3bd.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <d5tcpd01apo@enews1.newsguy.com>
Subject: Re: [Dialog] Simple filter question, but I'm dumb
Date: Wed, 11 May 2005 12:44:29 -0400
From: Disciple <disciple@invalid.invalid>
References: <meiefrgvr7wj.o29tbzp1s3bd.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews1
Newsgroups: news.software.readers
Organization: http://extra.newsguy.com
Lines: 30
Reply-To: disciple@invalid.invalid
NNTP-Posting-Host: p-637.newsdawg.com
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
User-Agent: 40tude_Dialog/2.0.15.1 (6c3d75a2.285.259)
Archive: No
X-No-Archive: Yes