new method replaceDoubleSlash()