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
~
(?i)\b(?!.*?\.onion) (?> (?: [a-z][\w-]+: (?: /{1,3} | [a-z0-9%] ) | ftp:// | www\d{0,3}[.] | [a-z0-9.\-]+[.][a-z]{2,4}/ ) (?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+?(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*?\)|[^\s`!()\[\]{};:\'".,<>?«»“”‘’]))\b(?!<<)
~
gx
Unit Tests
There are no unit tests.
Add unit test