Link to home
Start Free TrialLog in
Avatar of IT CAMPER
IT CAMPERFlag for United States of America

asked on

Edit existing script to scan for additional text within file

I had this question after viewing Scripting to scan text file for criteria and return results.

Need to add Q-FAIL to what this script to checking for when it scans the text file. So it will check for JUMPBY or Q-FAIL matched with either COM or BTR - any combination of those.
ASKER CERTIFIED SOLUTION
Avatar of Bill Prew
Bill Prew

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of IT CAMPER

ASKER

The first one did the trick! Thanks Bill!

objRegExp.Pattern = "\b(Q-FAIL|JUMPBY)\b.*?\b(COM|BTR)\b"
Avatar of Bill Prew
Bill Prew

Welcome.


»bp