且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

用于url验证的java脚本

更新时间:2023-11-26 21:53:46


我只想要验证网站网址检查。

但它不应该从http://开始(例如 http://www.yahoo.com

它应该从ww开始。(示例 www.yahhoo.com )



提前使用
I simply want the validation for website url checking.
But it should not start from http:// (example http://www.yahoo.com)
it should start from ww.(example www.yahhoo.com)


Thanx in advance



请设置字段

plese set fields

展开 | 选择 | Wrap | 行号


展开 | 选择 | Wrap | 行号


你好我是这个网站的新人。

Plz帮助我,我坚持网站验证bcoz,>
i希望以这种方式验证,

用户只能进入(http://www.test.com)或其中任何一个网站(www.test.com)>
接受这种类型的条目,它显示警告plz以适当的方式进入网站 ,


i使用了你的风格但是当我们多次输入点(。)时会出现问题,例如

(http:// wwwwww .... .......测试......... com)或(wwwwww .......... test .......... com)
Hi i m new in this site.
Plz help me out, i m stuck in website validation bcoz,
i want validation in this manner,
user can only enter the website in (http://www.test.com) or either (www.test.com)
accept this type of entry it shows alert that "plz enter the website in proper manner" ,

i used ur style but it gives a problem when we enter dot(.) in multiple times like
(http://wwwwww...........test.........com) or (wwwwww..........test..........com)