Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
EIM month
Open Workspace
PCRE (Legacy)
Match
Created 2019-08-30 09:38
0
Regular Expression
/
^
(?'commodity'
02
)
_
(?'market'
\w
{3,}
)
_
(?'tenortype'
M
)(?'offset'
[
1
-
9
]
[
0
-
9
]
?
)?
_
(?'derivative'
PHY
|
FUT
)
(?'period'
M
)
-
(?'year'
\d
{4}
)
-
\b
(?'month'
0
[
1
-
9
]
|
1
[
0
-
2
]
)
\b$
/
gm
Description
handles atomic and combined tenor
Submitted by
Anonymous