Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
^(?:Tweak|Dev|Feature)\s+-(?:\s+(?:#?\w+|http\S*)){3,}\.?$
/
gm
Input 1
1
New
Tweak - this should be correct. Feature - my feature having a special character as #123. Dev - this should also work https://regex101.com/ Dev-Hello world incorrect Tweak- it should be wrong feature - it is also incorrect