Article View: news.software.readers
Article #242875Re: [Xnews] Looking for regex help - 20 CAPITAL letters in subject header?
From: Bert Hyman
Date: Thu, 30 Sep 2010 16:18
Date: Thu, 30 Sep 2010 16:18
21 lines
1655 bytes
1655 bytes
In news:Xns9E0350120FCD5bookwight@207.246.207.159 BookWight
<Bookwight@publicspam.com> wrote:
> Hi -
>
> I need help; I'm trying to filter out the subject headers which have
> 'x' amount of capital letters in the subject.
>
> All helpful suggestions welcome
If there are no spaces, reading TFM suggests this:
[A-Z]{x}
If there are spaces or other characters, things get more complicated.
See the section "Regular expression", "3) Quantifiers (match how many
times)"
--
Bert Hyman St. Paul, MN bert@iphouse.com
Technical Details
Message-ID:
<Xns9E03730466944VeebleFetzer@216.250.188.141>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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-out.octanews.net!indigo.octanews.net!news-2.mpls.iphouse.net.POSTED!not-for-mailReferences:
<Xns9E0350120FCD5bookwight@207.246.207.159>Show Full Headers
Complete Article Headers
Message-ID: <Xns9E03730466944VeebleFetzer@216.250.188.141> Subject: Re: [Xnews] Looking for regex help - 20 CAPITAL letters in subject header? Date: Thu, 30 Sep 2010 16:18:23 +0000 From: Bert Hyman <bert@iphouse.com> References: <Xns9E0350120FCD5bookwight@207.246.207.159> 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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-out.octanews.net!indigo.octanews.net!news-2.mpls.iphouse.net.POSTED!not-for-mail Newsgroups: news.software.readers Organization: Not that you'd notice User-Agent: Xnews/2006.08.24 Lines: 21 NNTP-Posting-Date: 30 Sep 2010 11:18:23 CDT NNTP-Posting-Host: c070ee02.newsreader.iphouse.net X-Trace: DXC=IG0e3MdaCbb; eHj8kRSXNiVn\Tj8`^BbkeHS>e[L>83`Kc@?QfiPQI`c230oU7d71aX7@2h; nGb4mZBXXMl8Alao X-Complaints-To: abuse@iphouse.net