Regular Expressions 101

Community Patterns

1...45678...901

Community Library Entry

0

Regular Expression
Python

r"
^120/BHP\d/(?P<lblreq_board>LBLREQ)-(?P<lblreq_id>\d+)/(?P<mission>\d{4}-\d{2}-\d{2}-Z0F\d{4})/(?P<run>\d+)/(?P<vehicle_time>\d{18})/(?P<event_time_s>\d+\.\d+)/(?:sweep_dir_\d+/sweep_\d+/)?image_(?P<channel>[a-z_]+)_000000000\.png$
"
gm

Description

no description available

Submitted by anonymous - 6 years ago