regular expression

Results 1 to 2 of 2

Thread: regular expression

  1. #1
    Join Date
    Dec 1969

    Default regular expression

    Hi,<BR><BR>Does somebody know how to use regular expression to verify date in &#039;dd-Mon-yyyy&#039;(12-Jan-2001)format? Thanks.

  2. #2
    Join Date
    Dec 1969

    Default RE: regular expression

    Would it be something like<BR><BR>dd-[A-Za-z][A-Za-z][A-Za-z]-dddd<BR><BR>Sorry, my regular expression knowledge is pretty rusty, but this should help. Note that with this expression, 2 digits would be required for the day, so if it&#039;s the 2nd day of the month it would have to be input as 02 (02-Jan-2001, not 2-Jan-2001, for example).<BR><BR>HTH

Posting Permissions

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