Does anyone know of a regular expression that would allow me to strip the path from the location.pathname of a web page?

Cheers. Scot-Bot.