How to write regularExpression in Java
Hi all,
Iam with a small problem.....My file contains data like:
EVENTTS=2005-10-06 11:07:18.335 CATEGORY=Uncompressed Request = ID= WID=SINCCBMSDGND017 AID=TIPSSID="TECHARCH"
I have to write a regular expression..I have to get time(TS) from the data...
I wrote Pattern ....its ggiving error.
Can anybody write the pattern...
I wrote..like this....
Pattern reqMessage = Pattern.compile("^EVENT.*TS=.*CATEGORY=Uncompressed Request.*", Pattern.DOTALL)
PLz help me by correcting it...
Bye

