0 1 91 0 1 9 12 0 9 13 01 19120 Dlds 1 012 Q37150470

, (0 [1-91 /.] (0[1-9]| [12] [0-9]13[01])[- /.] (19120)dlds 1 [012])[-

need help describing what the regular function is anddescribing what it does.

, (0 [1-91 /.] (0[1-9]| [12] [0-9]13[01])[- /.] (19120)dlds 1 [012])[- Show transcribed image text , (0 [1-91 /.] (0[1-9]| [12] [0-9]13[01])[- /.] (19120)dlds 1 [012])[-


Answer


This regular expression is used to represent dates in theformat:

  • mm-dd-yyyy
  • mm/dd/yyyy

Notes:

  • If the month is less than 10, it starts with 0
  • If the day is less than 10, it starts with 0.
  • The year field can be 19xx or 20xx

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.