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

[547 byte] By [isawu64@yahoo.coma] at [2007-10-2 1:55:51]
# 1
Ya,I got it................Thanks....
isawu64@yahoo.coma at 2007-7-15 19:36:51 > top of Java-index,Archived Forums,Debugging Tools and Techniques...
# 2
i think ur dealing with logs files here rite? well..i was doing the same work...u can use theimport java.util.regex.*; library...checkout the codes..it quite easy to use
scootz3345a at 2007-7-15 19:36:51 > top of Java-index,Archived Forums,Debugging Tools and Techniques...