Regular Expressions 101

Library entries

Parse comma separated list of YYYY-MM dates

Vote

0

Regular Expression
pcre

/
(()[0-9]{4})-([0-9]{1,2})(?=,|)
/
gmi

Description

Loading markdown...
Submitted by Devon Tuck - 6 years ago