|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
URL Regular Expression ValidatorHi,
I'm using the following validation expression for an URL: ^(ht|f)tp(s?)\:\/\/[a-zA-Z0-9\-\._]+(\.[a-zA-Z0-9\-\._]+){2,}(\/?)([a-zA-Z0-9\-\.\?\,\'\/\\\+&%\$#_]*)?$ I'm having an issue with url having only 1 dot. for eg http://schlockmercenary.com Can anyone pls help me fixed this issue. Thanks "^(ht|f)tp(s?)://([\w-]+\.)+[\w-]+(/[\w-./?%&=]*)?$"
<astpc.***@gmail.com> wrote in message Show quoteHide quote news:1138598107.848266.173350@g44g2000cwa.googlegroups.com... > Hi, > > I'm using the following validation expression for an URL: > ^(ht|f)tp(s?)\:\/\/[a-zA-Z0-9\-\._]+(\.[a-zA-Z0-9\-\._]+){2,}(\/?)([a-zA-Z0-9\-\.\?\,\'\/\\\+&%\$#_]*)?$ > > I'm having an issue with url having only 1 dot. for eg > http://schlockmercenary.com > > Can anyone pls help me fixed this issue. > > Thanks >
It's the little things
Threading questions Application health monitoring - how? change value of textbox in datagrid How to get cmdArgs in Windows Application (vs2005) ? VS2005 Exception Handling Class and property question Just want to be sure about 2005 Overpunch (EBCDIC) Conversion Function combobox items |
|||||||||||||||||||||||