Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
(?s)(?=[^:]*\d[^:]*:)(([0-9]{1,2}h)?[ ]*([0-9]{1,2}min)?:\s*)((?:.(?!(\dh\s\d{1,2}min|\dh|\d{1,2}min)))+)
/
g
Input 1
1
New
1h 30min: Title - Description Line 1 3h: SECOND TITLE - Description Line 1 - Description Line 2 - Description Line 3 1h 14min: Title - another Great one 42min: Title - Great Movie - Description Line 2 - Description Line 3