I have tried this regular expression
$_ =~ m/^REMOTE\s+\[(.*?)\]\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+\[(.*?)\]\s+(.*?)sec\s+(.*)MBytes\s+(.*)Mbits\/sec
. it gives data from both strings.But
<cd>
String1:"REMOTE Mon Jul 16 21:49:33 2012 @@ ueh1TNT204901916 0.0- 1.0 sec 0.33 MBytes 2.74 Mbits/sec 6.056 ms 0/ 233 (0%)";
</c>having two values in last 6.056 ms and 0/ 233(0%) i have to make them optional.
Please help me in this problem
Thanx