• 2023-08-23利用正则查找html代码中的ID值
    直接上代码:1stringrule="id='(?<value>.*?)'";2System.Text.RegularExpressions.Regexregex=newSystem.Text.RegularExpressions.Regex(rule);3//html代码4stringhtmlC
  • 2023-06-13delphi 正则表达式
    正则表达式代码匹配usesSystem.RegularExpressions;procedureTForm1.Button1Click(Sender:TObject);varvMatch:TMatch;begin//匹配正则表达式vMatch:=TRegEx.Match('abc123def456','[0-9]+');//匹配成功输出匹配内容ifvMatch.Successthenbegi
  • 2023-02-14正则分组替换
    对于复杂的、符合一定规则的字符串替换来说,正则表达式无疑是强悍和高效的选择对于正则表达式的使用,我也写过几篇帖子了,具体可以见下面的地址http://zu14.cn/tag/regex/
  • 2023-02-06Looking at the finalization queue
    Learn  BlogArchive  ASP.NETDebugging  ASP.NETTips:Lookingatthefinalizationqueue2008/04/283分钟可看完Soinapreviouspost,we