On 12/27/06, gaurav bagga <gaurav.v.bagga / gmail.com> wrote: > hi simon, > thanks for reply > so whats the way out i am not used to reg exp that much > some one helped me with reg exp that i posted > as a single entry might stop the things to work.... do you want to do a rough validation of the entire url? or do you want to check only the beginning? try this one /^(https?:\/\/)?\w+([-._=&+\/?#]\w+)+$/i -- Simon Strandgaard http://opcoders.com/