On Wed, Feb 10, 2010 at 5:48 AM, Jakub <j.kucharo...@gmail.com> wrote:
>    function Dummy(){
>      adress = window.location.href;
>      regex = "/^&(.*?)?$/";
>      adress = adress.replace(regex,'');
>      alert(adress);
>    }

One problem is you don't want to put quotes around the regex.

Nathan

Reply via email to