正则匹配网址 (https?|ftp|file)://[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|] http://www.cnblogs.com/speeding/p/5097790.html