(?i)\b((?:(?:[a-z][\w-]+:)?(?:/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))
(?i)\b((?:(?:[a-z][\w-]+:)?(?:/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))
As visualized by Regex Vis [1]
[1] https://regex-vis.com/?r=\b((%3F%3A(%3F%3A[a-z][\w-]%2B%3A)%3F(%3F%3A%2F{1%2C3}|[a-z0-9%25])|www\d{0%2C3}[.]|[a-z0-9.\-]%2B[.][a-z]{2%2C4}%2F)(%3F%3A[^\s()<>]%2B|\(([^\s()<>]%2B|(\([^\s()<>]%2B\)))*\))%2B(%3F%3A\(([^\s()<>]%2B|(\([^\s()<>]%2B\)))*\)|[^\s`!()\[\]{}%3B%3A'".%2C<>%3F«»“”‘’]))
Nice. Is there terminal/native running software with something similar?
Other than just running the HTML+JS/TS project in a container.
check out Regulex! it doesn’t support mode modifiers but
it does lack some features but i really like how its graphs look