good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^9: Time matching YYYY-MM-DD HH:MM:SS.SSSby dave_the_m (Monsignor) |
on Jul 28, 2012 at 00:37 UTC ( [id://984123]=note: print w/replies, xml ) | Need Help?? |
The regex I used works against the sample data you supplied. Perhaps your real data is different. Perhaps you have tabs rather than spaces (so use \s), or perhaps some lines don't have any text after the timestamp?
Dave.
In Section
Seekers of Perl Wisdom
|
|