2012年9月11日

遍历文本中所有的网址添加超链接

摘要: public string maindomain(string url) { // [u4e00-u9fa5] 中文 ^\w+$ Regex regex = new Regex( // @"(((http|https):\/\/)?[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:/~\+#]*[\w\-\@?^=%&/~\+#])+[A-Za-z0-9]+$?)", @"(((http|https):\/\/)?[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:/~\ 阅读全文

posted @ 2012-09-11 14:05 缘来 阅读(274) 评论(0) 推荐(0)

可以定位到当前选项卡的菜单效果

摘要: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="Oauth4Web.WebForm1" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 阅读全文

posted @ 2012-09-11 14:02 缘来 阅读(353) 评论(0) 推荐(0)

导航