Regular Expressions in VBScript

Finding string patterns within a text, or Regular Expressions as the are called, can be easily accomplished in VBScript. Below is a sample code that illustrates how to find the pattern “-L” from a search string.
First we must declare our search string and create our Regular Expression Object.
strSearchString = “TPA-FWR-L001″
Set objRegExp = New RegExp
We then [...]