Thanks to the both of you but it seems I couldn't anage to make my intentions clear
Andy, when given my string, your function returns (("blah/blah?param1" . "123") ("amp;param2" . "456")) which is not what I want. What I wanted is to get "blah/blah?param1=123¶m2=456 FROM "blah/blah?param1=123&param2=456 Since & is a standard html extended symbol I was hoping that htmlprag would have dealt with it for me. But I solved anyway. Thanks Now I have a new issue but I'll write about it in a new thread Bye