萧乐颜 2008-02-18 11:07:02 如有以下这些:
<a href = "http://123.exe">yi</a>
<a href = "http://2345.rar">ewer</a>
<a href = "ftp://123.zip">fdgdgg</a>
<a href = "http://123.htm">fdsfsa</a>
<a href = "ftp://fdg3.zip">yi</a>
<a href = "http://hkshfhdjghj.htm">dsdsf</a>
<a href = "http://uiuo.htm">yi</a>
。。。。。。
我只要以http或ftp开始, 以exe或rar或zip为后缀的连接,这个正则表达式怎么写?