Please HELP on a SED question

Hi All,

Given the 2lines in a text file:

PSDSTSRV.483 [01/11/07 20:38:50 PostReport](1) (JNI): Java exception
PSDSTSRV.483 [01/11/07 20:38:50 PostReport](3) HTTP transfer error

How do I print only the field '20:38:50' using sed (or any other, awk perhaps)?
so the output will just be:

20:38:50
20:38:50

Please help, TNX!!

sed "s/.*\([0-9][0-9]:[0-9][0-9]:[0-9][0-9]\).*/\1/" file

Thanks! You're a great sedder anbu23!!! :slight_smile: