怎么在文本框输入网址 如www.baidi.com http://baidu.cn就用一个函数替换成www.baidu.com 正则没怎么学过
看不明白你想要的功能?是添加http:// 还是去掉?还是添加链接?