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|https):\/\/[a-zA-Z-]*\.{0,1}[a-zA-Z-]{3,}\.[a-z]{2,})\/channel\/([a-zA-Z0-9_]{3,})$
/
gm
Input 1
1
New
https://www.youtube.com/channel/UCAoMPWcQKA_9Af5YhWdrZgw
Substitution
https://www.youtube.com/channel/UCAoMPWcQKA_9Af5YhWdrZgw