I have the following expressions.
The only difference between them is route (.gif and .html)
crystal.ipac.caltech.edu - - [17/Jul/1995:20:00:23 -0400] "GET /facts/faq04.gif HTTP/1.0" 200 27063
crystal.ipac.caltech.edu - - [17/Jul/1995:20:00:23 -0400] "GET /facts/faq04.html HTTP/1.0" 200 27063
And this is RegEx which is used for above ones. And it matchs to both of them.
"^([^\\>]+) (\\S+) (\\S+) \\[([\\w:/]+\\s[+\\-]\\d{4})\\] \"(.+?)\" (\\d{3}) (\\d+|-)"
But I need to exclude a first string with .gif extension. How can i do it?
Thanks