------ art_6687_22528987.1167217100337 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline hi, thanks for the reg exp :) basically that suffices simple website url( http://www.something.com/something) or a blog url regards gaurav On 12/27/06, Simon Strandgaard <neoneye / gmail.com> wrote: > > 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/ > > ------ art_6687_22528987.1167217100337--