Regular Expression Question

From: Geoff Robinson (geoffr2_at_aol.com)
Date: 11/21/03

  • Next message: Gary: "linux perl accesses ms-access db"
    Date: 21 Nov 2003 10:12:46 -0800
    
    

    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.

    Does anyone know what the proper regular expression is?

    thanks for any help in advance,
    Geoff


  • Next message: Gary: "linux perl accesses ms-access db"

    Relevant Pages

    • Re: How to remove quotes, commas, from numbers (considered as strings)?
      ... I've got a csv file for numeric data, some of which are greater than ... I can come up with the regular expression for the second argument. ...
      (microsoft.public.dotnet.languages.csharp)
    • How to remove quotes, commas, from numbers (considered as strings)?
      ... I've got a csv file for numeric data, some of which are greater than ... Some bright fellow trying to br helpful put US-standard commas in ... I can come up with the regular expression for the second argument. ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: any 3 letters
      ... is it possible to write proper regular expression? ... Yes, it's possible, but you may find it less mind-bending just to use two ... If you really want a single regexp, then you can explicitly code a match for ...
      (comp.lang.ruby)
    • Re: Regular Expression Question
      ... > The best I can come up with based on books and online sources is ... not matching *.a or *.csv: ...
      (comp.lang.perl)