REGEX-Escape for: http://cosmostest2.bshg.com/cosmosckytest/sobtest/CosmosService.svc

Your Input:
Result, the escaped string:
http\:\/\/cosmostest2\.bshg\.com\/cosmosckytest\/sobtest\/CosmosService\.svc

What must the escaping look like for:
http://cosmostest2.bshg.com/cosmosckytest/sobtest/CosmosService.svc

The excaped text for use in a regex is:
http\:\/\/cosmostest2\.bshg\.com\/cosmosckytest\/sobtest\/CosmosService\.svc