Fyzzle Posted February 17, 2010 Share Posted February 17, 2010 Heya, What I'm trying to do is look into .cfg files (which are formatted like txt files) and pull out registration numbers to audit our network on a specific software piece. The line is: "SerialNum"="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX" Quotes are included in the line and it occurs on different lines of the config file depending on version, options, etc so a filereadline isn't going to work. I have been reading into Regex but I admit it's a bit over my head at the moment. I'm hoping that seeing this example in action will help things come together. I have most of the script written but I can't get that value. Is anyone able to help? Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now