I am not at all able to code in Perl; so, what seems like a simple thing -- writing a regex to score all URIs that are not for "com" or "net" or "org" TLDs -- is apparently beyond my skills. Could someone kindly enlighten me?
As an example I want https://foo.com.us/asdf?qwerty=123
to match and ftp://madeup.kernel.org/path/to/some/tarball.tar.bz2
to not match.