fixed regex to catch URLs that contain a directory structure after the 'www.xxx.xxx' domain