This recipe describes how to replace multiple slashes in URL & avoid replacing the first
Given Input:
// in http:// & https://.
Expected behaviour
To send some concatenated url with multiple slashes and recive the clean one.Given Input:
http://devcdn.some-hub.net/html5//280131/publish///brand/bundle/games/Expected Output:
http://devcdn.some-hub.net/html5/280131/publish/brand/bundle/games/