🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #152119

Re: [OT] Help with regex please

#152119
From: Rom
Date: Tue, 20 Jul 2004 11:34
19 lines
1353 bytes
On Tue, 20 Jul 2004 11:13:26 +0100, Mozzy rambled:

> I am trying to match a string like these file names:
> 
>            109006310240F90AFE3D10Fjpg
>            109022208940FB7809F1BBBjpg
> 
> where there are any 23 characters followed by "jpg".  Strangely 
> enough there is no dot before the "jpg" at the end of the file 
> name.

> What regex should I use to match those file names?

Until someone more knowledgable comes along, try this:

	^(?>.*)(?<=jpg)

-- 
Rom
Technical Details
Message-ID: <td0qf0tav2j798132iflsjcrgfo7dj4jng@news20.forteinc.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.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!sn-xit-02!sn-xit-01!sn-post-02!sn-post-01!supernews.com!news20.forteinc.com!not-for-mail
References: <952C722D5471651A7E@130.133.1.4>

Show Full Headers
Complete Article Headers
Message-ID: <td0qf0tav2j798132iflsjcrgfo7dj4jng@news20.forteinc.com>
Subject: Re: [OT] Help with regex please
Date: Tue, 20 Jul 2004 21:34:54 +1000
From: Rom <reply@group.invalid>
References: <952C722D5471651A7E@130.133.1.4>
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.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!sn-xit-02!sn-xit-01!sn-post-02!sn-post-01!supernews.com!news20.forteinc.com!not-for-mail
Newsgroups: news.software.readers
X-No-Archive: yes
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@supernews.com
Lines: 19