Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Regular
Expressions
101
Regular
Expressions
101
Upgrade to Pro
Enterprise
Regular Expression
r"
(\d{1,2}:\d{1,2})|(\d{1,2}\s+horas{0,1})|(\d{1,2}h ?\d{0,2})
"
g
Test String
New
8:00 8 horas 8 hora 8h 8h30 (8h 30) 8h30min (8h 30 min) 8h30minutos (8h 30 minutos)