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
`
http://(?:sv\d+sv|hv\d+hv)-prod-domain\.com/health
`
gm
Input 1
New
http://sv01sv-prod-domain.com/health http://sv02sv-prod-domain.com/health http://sv03sv-prod-domain.com/health I now need to add servers that are named: http://hv??hv-prod-domain.com/health http://hv01hv-prod-domain.com/health http://hv02hv-prod-domain.com/health http://hv03hv-prod-domain.com/health