String st = "64.242.88.10 - - [07/Mar/2004:16:06:51 -0800] "GET /twiki/bin/rdiff/TWiki/NewUserTemplate?rev1=1.3&rev2=1.2 HTTP/1.1" 200 4523"
String ip, url;
int index = line.indexOf(" - - ");
ip = line.substring(0, index)
this will extract the ip and i need to extract the link which is after GET into two different variable, i extract the ip without using regx but i could not to have the link.