Be sure to limit this to the first match and the beginning of the string only (e.g. beware of `http:` appearing somewhere in the url or page name)