I have a file containing records of the following format:
1285957838.880 1 192.168.10.228 TCP_HIT/200 1434 GET http://www.google.com/tools/dlpage/res/c/css/dlpage.css [02/Oct/2010:00:00:38 +0530] je02121 NONE/- text/css
Which has 11 fields ([02/Oct/2010:00:00:38 +0530] is a single field)
I want to write extract fields say 7, 8, 9. Is it possible to extract these fields using Java regex.
Can regex be used to match multiple patterns for the above?
From the above record, I need to extract the fields
f1: http://www.google.com/tools/dlpage/res/c/css/dlpage.css
f2: 02/Oct/2010:00:00:38 +0530
f3: je02121
delimiter(e.g. a space) that partitions the fields?