Howdy! Novice question:
I can use the following regular expression
in textcrawler (a gui based Windows grep program) to extract text in between two brackets into another file. it works beautifully.
However, I need to be able to do that from a Windows bat file. Something like
grep (?<=\[)(.*?)(?=\]) myinput.txt >myoutput.txt (well..you get the idea)
I have tried numerous versions of command line grep programs for windows, but just cannot for the life of me find one that works (or more accurately, figure out the syntax to go get it to work.)
(sometimes just putting the reg expression in a bat file screws up the processing, so it sound like I need syntax help)
Thanks in advance...
$16,000 used SUVs
Whether you like your SUVs cute or capable, or some blend of the two, we've got a wide variety of choices in Roadshow's first collection of Editors' Used Picks.