‘=========================================== ‘ NAME: VBSCriptControlExcel.vbs ‘ AUTHOR: Neal Walters ‘ DATE : 3/19/2006 ‘ http://VBScript-Training.com ‘ ‘ Related Regular Expression (RegEx) Websites: ‘http://www.regular-expressions.info/ ‘http://regxlib.com/ ‘ RegEx tester: http://regxlib.com/RETester.aspx ‘=========================================== ‘——-Loop and show each match ————- ‘http://www.microsoft.com/technet/scriptcenter/resources/qanda/apr05/hey0415.mspx Set objRegEx = CreateObject(“VBScript.RegExp”) objRegEx.Global = True objRegEx.Pattern = “\d{4}” strSearchString = “John=1234 Fred=5678 Susan=1212″ WScript.Echo “SearchString=” & strSearchString Set [...]
Read More...- Subscribe via RSS
Pages
Categories
Blogroll
Tags
Add Folder browser Collections delete Dictionary Object Disk Drives Drives Enumerate Excel Explode File File I/O Files FileSystemObject Folder Folders FSO Hardware HTML HTTP Post I/O Input List MS-Excel Name/Value Pairs Output Prompt Read ReadAll ReadLine Recursion Recursive RegEx Regular Expressions remove Scripting.Dictionary Scripting.FileSystemObject Show spreadsheet User Input Web Write WriteLine Write to File XML