SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist CapitalWebHost's Avatar
    Join Date
    Apr 2003
    Location
    Albany, NY
    Posts
    417
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need help with regular expression syntax..

    I need to parse the following:

    aaa_bbb_d_yyyy_mm.ext

    aaa = ITM, CPF, FAC, GEN
    bbb = almost anything (even more then 3 chars)
    d = M,Q,Y,R
    yyyy = year
    mm = month

    I'm terrible at figuring out regexp so I turn to the kind folk of SP to help me.

  2. #2
    SitePoint Evangelist CapitalWebHost's Avatar
    Join Date
    Apr 2003
    Location
    Albany, NY
    Posts
    417
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What, no one here knows RegExp?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •