- 博客(4)
- 收藏
- 关注
转载 匹配html标记的正则
>" name= spanName /> function htmlTag(){ re = //ig">//["tbnr]|[^/7])*?/7|/w+)|.{0})|/s)*?(///s*)?>/ig return htmlCode.value.match(re)}匹配
2007-05-24 12:18:00 698
原创 [转载]C#字符串的使用
一、标记 标记(tokenizing)是从文本中提取具体内容的过程。 下面的代码从句子中提取单词,并把它们输出到控制台。 class mytokenizing { static void Main(string[ ] args) { string mystring="I like this food,are you?"; char[] separators={ ,,,?,:,!
2007-05-24 12:16:00 568
原创 经典算法-C#四种排序算法
using System;namespace BubbleSorter { public class BubbleSorter { public void Sort(int [] list) { int i,j,temp; bool done=false; j=1; while((j<list.Length)&&(!done)) { done=true; for
2006-12-29 12:00:00 683
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人