REGEX-Escape for: http://cosmostr.euea.corp.bshg.com/cosmoscky/sob/CosmosService.svc

Your Input:
Result, the escaped string:
http\:\/\/cosmostr\.euea\.corp\.bshg\.com\/cosmoscky\/sob\/CosmosService\.svc

What must the escaping look like for:
http://cosmostr.euea.corp.bshg.com/cosmoscky/sob/CosmosService.svc

The excaped text for use in a regex is:
http\:\/\/cosmostr\.euea\.corp\.bshg\.com\/cosmoscky\/sob\/CosmosService\.svc