Launching a SaaS?·Collect waitlist signups before you build — before.run
SandboxPatternsDetectDocs
Date & Time
#date
#us
#mm/dd/yyyy
#american

Date (US Format)

Matches a US-style date in MM/DD/YYYY format.

US address formsAmerican date input fieldsLegacy system integration
/
/
Test String
3 matches
(…)Group #1Capturing group — captures matched text for reuse or extraction
0?0'0' — literal character — repeated zero or one time (optional) · ? — zero or one time (optional)
[…]Character class […]Matches any single character listed in this set
||| — alternation: matches expression on left OR right
11'1' — literal character
[…]Character class […]Matches any single character listed in this set
\/\/\/ — escaped character '/'
(…)Group #2Capturing group — captures matched text for reuse or extraction
0?0'0' — literal character — repeated zero or one time (optional) · ? — zero or one time (optional)
[…]Character class […]Matches any single character listed in this set
||| — alternation: matches expression on left OR right
[…]Character class […]Matches any single character listed in this set
\ddigit\d — digit (0–9)
||| — alternation: matches expression on left OR right
33'3' — literal character
[…]Character class […]Matches any single character listed in this set
\/\/\/ — escaped character '/'
(…)Group #3Capturing group — captures matched text for reuse or extraction
\d{4}digit\d — digit (0–9) — repeated exactly 4 times · {4} — exactly 4 times
Pattern: 49 charsInput: 30 chars
100% client-side · private

Valid Examples

  • 01/15/2024
  • 12/31/1999
  • 3/7/2024

Invalid Examples

  • 13/01/2024
  • 00/15/2024
  • 2024/01/15
  • 15/01/2024