Re: Extract string found in line

2014-05-11 Thread Christopher Stone
On May 11, 2014, at 14:36, Lee Hinde wrote: > I am parsing apache log files. This is the grep pattern I'm using: > > GET /public/search/\?q=(\w|\+|\.|-)+ __ Hey Lee, When making these kinds of requests it's always better if you

Extract string found in line

2014-05-11 Thread Lee Hinde
I am parsing apache log files. This is the grep pattern I'm using: GET /public/search/\?q=(\w|\+|\.|-)+ works fine. But I want to extract just the text that matches that string and lose all the rest of the line. How would I do that? -- This is the BBEdit Talk public discussion group. If you ha