Regular Expressions 101

Community Patterns

DMR XML with attributes in any order

0

Regular Expression
PCRE (PHP <7.3)

/
<cuepoint(?=.* time="(\d{2}:[0-5]\d:[0-5]\d\.\d{3})")(?=.* type="(\w+)")(?=(?:.* end\-time="(\d{2}:[0-5]\d:[0-5]\d\.\d{3})")?)[^\/]*\/>
/
gm

Description

no description available

Submitted by anonymous - 4 years ago