1. 首页
  2. 数据库
  3. 其它
  4. Highlight patterns within strings

Highlight patterns within strings

上传者: 2021-01-03 15:34:36上传 PDF文件 15.45KB 热度 16次
代码如下:‘Replaces pattern with highlighted replacement (using style) and preserves case Public Function highlight(strText, strFind) Dim objRegExp, i, strHighlight ‘Split the search terms into an array Dim arrFind arrFind = Split(strFind, ” “) ‘Initialize the regular expr
下载地址
用户评论