中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-04 07:57
48,038 topics / 350,123 posts / today 0 new / 48,251 members
DOS批处理 & 脚本技术(批处理室) » Extract the domain name from a URL
Printable Version  690 / 3
Floor1 FBOAR Posted 2007-04-17 05:41
初级用户 Posts 31 Credits 86
http://www.baidu.com/s/s/
http://sina.com/bbs/x/


After extraction it becomes
www.baidu.com
sina.com
;)

How can i do this?
Floor2 zhoushijay Posted 2007-04-17 05:47
高级用户 Posts 375 Credits 845
Floor3 menglongfc Posted 2007-04-22 00:41
初级用户 Posts 25 Credits 45
???
What if the URL is custom-defined?
Floor4 wudixin96 Posted 2007-04-22 01:02
银牌会员 Posts 931 Credits 1,928
Regular expression
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023