| Author |
Regular expression for a message format
|
monica singh
Greenhorn
Joined: Jan 04, 2009
Posts: 26
|
|
I am trying to come up with a regular expression for the following log format.
Severity Mar 10 04:05:43 Mar 10 04:05:43 hostname Logged in to the server
Could anyone try out the same thing.
Thanks.
|
 |
Martijn Verburg
author
Bartender
Joined: Jun 24, 2003
Posts: 3268
|
|
Hi Monica,
What have you got so far?
|
Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
|
 |
John de Michele
Rancher
Joined: Mar 09, 2009
Posts: 600
|
|
Monica,
That does seem like a fairly simple regex. What are you trying to do with the regex? And why is the date shown twice?
John.
|
 |
 |
|
|
subject: Regular expression for a message format
|
|
|