Regular Expressions 101

year match

Open Workspace
  • PCRE (Legacy)
  • Match
0

Regular Expression

/
^\d{4}-\d{4}$
/

Description

2010-2012

Submitted by tazbir