Regular Expressions 101

Community Patterns

seasons

0

Regular Expression
PCRE (PHP <7.3)

/
^(?'id'02)_(?'code'\w{3})_(?'heatingvalue'H|L)_(?'type'SE)(?'offset'[1-9][0-9]?)_(?'derivative'PHY|FUT) (?'period'SWS-)(?'yearfull'\b20(?'yearabbr'1[4-9]|[2-9][0-9])\b)-\b(?'month'0[4]|1[0])\b$
/
gm

Description

no description available

Submitted by anonymous - 10 years ago