Is there a good documentation for VBScript Regular Expression object (RegExp)?

documentation, regex, vbscript

Solution

According to regular-expressions.info most of the regular expression stuff in Javascript applies to VBScript. They have also a quite complete description of the exceptions and limitations of VBScript regexes.

There is also a neat trick you can do with the `.Replace` method: adding a function reference to manipulate the replace return value.

Problem

We all know that every regex implementation has its own peculiarities. I need to us the Microsoft VBVScript RegExp object in an app using COM Automation, but I could not find a good documentation for it except this overview: Microsoft Beefs Up VBScript with Regular Expressions http://msdn.microsoft.com/en-us/library/ms974570.aspx MSDN also contains this section for regular expressions, but it is for JavaScript: Introduction to Regular Expressions (JavaScript) http://msdn.microsoft.com/en-us/library/6wzad2b2.aspx Can we use all the features described in this section for VBScript RegExp object?

Original source