[MS][00000000] Remove debugger statement; improve regex to avoid domain names in URL segments