in reply to Re^2: regex not working
in thread regex not working

What about the rough regex:

/^.*?(\d+)\D(\d+)\D(\d+)\D(\d+)\D(\d+)\D((\d+)\.?(\d*)+)\D?/;

which takes care to match 6 times digits delimited in some way?

So you'll always get the:

($year, $month, $mday, $hour, $minutes, $seconds) = ($1, $2, $3, $4, $5, $6);