- UID
- 104
- 阅读权限
- 150
- 注册时间
- 2003-3-24
- 最后登录
- 2013-10-5
- 在线时间
- 11 小时
- 性别
- 男
圣徒
- 耕战
- 1048
- 鹰币
- 62
- 天龙币
- 0
- 回帖
- 51
|
许多连接识别有问题
改一下吧
re.Pattern = "^((http|https|ftp|rtsp|mms):(\/\/|\\\\)[A-Za-z0-9\./=\?%\-&_~`@[\]\':+!]+([^<>""])+)"
strContent = re.Replace(strContent,"<a target=_blank href=$1>$1</a>")
re.Pattern = "((http|https|ftp|rtsp|mms):(\/\/|\\\\)[A-Za-z0-9\./=\?%\-&_~`@[\]\':+!]+([^<>""])+)$"
strContent = re.Replace(strContent,"<a target=_blank href=$1>$1</a>")
re.Pattern = "([^>=""])((http|https|ftp|rtsp|mms):(\/\/|\\\\)[A-Za-z0-9\./=\?%\-&_~`@[\]\':+!]+([^<>""])+)"
strContent = re.Replace(strContent,"$1<a target=_blank href=$2>$2</a>")
|
|