I am trying to create a regex that captures a domains: -protocol -subdomain -domain -directory
e.g https://test.randomdomain.com/directory\'
[\'http/s\',\'test\',\