Regular Expressions 101

Community Library Entry

0

Regular Expression
Python

r"
(?P<start>\d{1,2}) ?[-/] ?(?P<end>\d{1,2})[ /]{0,2}(?P<year>\d{2,4})
"
gm

Description

1-12 / 2022

Submitted by anonymous - 2 years ago