- 博客(2)
- 资源 (2)
- 收藏
- 关注
原创 常用正则表达式
"^//d+$" //非负整数(正整数 + 0)"^[0-9]*[1-9][0-9]*$" //正整数"^((-//d+)|(0+))$" //非正整数(负整数 + 0)"^-[0-9]*[1-9][0-9]*$" //负整数"^-?//d+$" //整数"^//d+(//.//d+)?$" //非负浮点数(正浮点数 + 0)"^(([0-9]+//.[0-9]*[1-9][0-9
2006-06-22 09:51:00 838
原创 UBB代码替换
public static string UbbDecode(string str){str = HtmlEncode(str);str = Regex.Replace(str, @"/[url](?.+?)/[/url]", "${url}", RegexOptions.Compiled | RegexOptions.IgnoreCase);str = Regex.Replace(str, @"
2006-06-12 09:59:00 1072
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人