开发者

VBScript RegExp IE8 Addons inventory script

IE8 Add-ons export script (vbscript)

I am attempting to parse a text file that match开发者_C百科es a string "DllName" and then writes everything following DLLName will be written to a text file.

What would be the regular expression for this?

Set objRegEx = CreateObject("VBScript.RegExp")

objRegEx.Pattern =


What about

objRegEx.Pattern = "\bDllName.*"

\b is a word boundary that ensures there is not a word character before.

. matches any character (but no newline character)

* quantifier, matches the previous expression (here: any character) 0 or more times

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜