asp提取汉字

时间:2009-03-07    点击:1386   

<%
Function RegExpTest(patrn, strng)
   Dim regEx, Match, Matches   ' 建立变量。
   Set regEx = New RegExp   ' 建立正则表达式。
   regEx.Pattern = patrn   ' 设置模式。
   regEx.IgnoreCase = True   ' 设置是否区分大小写。
   regEx.Global = True   ' 设置全局替换。
   Set Matches = regEx.Execute(strng)   ' 执行搜索。
   For Each Match in Matches   ' 遍历 Matches 集合。
      RetStr = RetStr  &  Match.Value
   Next
   RegExpTest = RetStr
End Function

response.Write(RegExpTest("[\u4e00-\u9fa5]","提。取,汉《字")) '提取汉字

%>

获取表格的每个TD的内容
查找单元格td内容
Window Media Player 播放器详细用法
简体繁体中文切换
asp上传图片到数据库中并读取显示图片
> 返回     
地址:上海市普陀区胶州路941号长久商务中心 电话: QQ:
© Copyright 2012 上海网络 All Rights Reserved