I have a file that is tens of thousands of lines. Each line is hundreds of characters. In each line I want to grab only certain text, and nothing but that. A grep will return the entire line, but that isn't what I need.
The line is like this:
xx.xx.xx.xx - [01/Jan/2003:08:18:23 -0800] "GET /path/to/file.png?(225x225) HTTP/1.1" 200 .....blah blah blah
What I need to extract is just:
(225x225)
Thanks.
The line is like this:
xx.xx.xx.xx - [01/Jan/2003:08:18:23 -0800] "GET /path/to/file.png?(225x225) HTTP/1.1" 200 .....blah blah blah
What I need to extract is just:
(225x225)
Thanks.