set regexp = createObject("vbscript.regexp") Execute method Executes a regular expression search against a specified pattern. Returns a collection of all the matches. Replace method Replaces text found in a regular expression search. Test method Executes a regular expression search against a specified pattern. Returns a Boolean value specifying whether a match occurred. Global property Specifies whether the pattern applies to all matches found or only to the first match found. IgnoreCase property Specifies whether a pattern search is case insensitive or case sensitive. Pattern property Sets or returns the current pattern.