REGEX-Escape for: http://gridengine.foo.net/source/browse/*checkout*/gridengine/source/dist/util/...

Your Input:
Result, the escaped string:
http\:\/\/gridengine\.foo\.net\/source\/browse\/\*checkout\*\/gridengine\/source\/dist\/util\/resources\/schemas\/qstat\/qstat\.xsd\?revision\=1\.11

What must the escaping look like for:
http://gridengine.foo.net/source/browse/*checkout*/gridengine/source/dist/util/resources/schemas/qstat/qstat.xsd?revision=1.11

The excaped text for use in a regex is:
http\:\/\/gridengine\.foo\.net\/source\/browse\/\*checkout\*\/gridengine\/source\/dist\/util\/resources\/schemas\/qstat\/qstat\.xsd\?revision\=1\.11