Article View: news.software.readers
Article #152200Re: [OT] Help with regex please
From: Mozzy
Date: Wed, 21 Jul 2004 09:37
Date: Wed, 21 Jul 2004 09:37
37 lines
1862 bytes
1862 bytes
MLC <maluc52@yahoo.it> wrote:
>> 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.
>>
>> I have used this regex test page but I can't seem to get any
>> regex to work! http://www.fileformat.info/tool/regex.htm
>>
>> Among others I have tried these
>>
>> jpg = jpg anywhere
>> jpg$ = jpg at end of string
>> \$jpg = jpg at end of string
>> \Zjpg = jpg at end of name
>>
>> Why don't these work?
>
> That page doesn't work for me either. :-/
>
>>
>> What regex should I use to match those file names?
>
> ^\w{23}jpg
>
> this works here in Dialog's regex tester with your strings.
>
For some reason your regex ^\w{23}jpg does not work in Newsbin Pro.
:-(
Technical Details
Message-ID:
<952D6C1F11BA051A7E@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!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news-feed1.de1.concert.net!fu-berlin.de!uni-berlin.de!not-for-mailReferences:
<952C722D5471651A7E@130.133.1.4> <nf2ofcd9dmkx$.dlg@ID-187316.user.uni-berlin.de>Show Full Headers
Complete Article Headers
Message-ID: <952D6C1F11BA051A7E@130.133.1.4> Subject: Re: [OT] Help with regex please Date: Wed, 21 Jul 2004 10:37:43 +0100 From: Mozzy <dem_d@mail.com> References: <952C722D5471651A7E@130.133.1.4> <nf2ofcd9dmkx$.dlg@ID-187316.user.uni-berlin.de> 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!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news-feed1.de1.concert.net!fu-berlin.de!uni-berlin.de!not-for-mail Newsgroups: news.software.readers Lines: 37 X-Trace: news.uni-berlin.de uPf7/EOXFiRYaw4zAYb7awNWyA0QggicxQnjEZt+PDSREfJM7c News-Agent: OE 6.00.2800 X-No-Archive: yes