Re: Regular Expression Question
From: dw (me_at_verizon.invalid)
Date: 11/21/03
- Previous message: Gary: "linux perl accesses ms-access db"
- In reply to: Geoff Robinson: "Regular Expression Question"
- Next in thread: Geoff Robinson: "Re: Regular Expression Question"
- Reply: Geoff Robinson: "Re: Regular Expression Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 21 Nov 2003 22:37:01 GMT
"Geoff Robinson" <geoffr2@aol.com> wrote in message
news:978b35e2.0311211012.475195eb@posting.google.com...
> Hello,
>
> I need a regular expression that will match all files which aren't of
> two extensions. Basicly I need it to mean not *.a nor *.csv.
>
> The best I can come up with based on books and online sources is
> [^[*.m][*.csv]] but that doesn't look quite right.
not matching *.a or *.csv:
! /\.(a|csv)$/
- Previous message: Gary: "linux perl accesses ms-access db"
- In reply to: Geoff Robinson: "Regular Expression Question"
- Next in thread: Geoff Robinson: "Re: Regular Expression Question"
- Reply: Geoff Robinson: "Re: Regular Expression Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|