<?php $str = "20142311.235504"; preg_match('~^(?<year>\d{4})(?<day>\d{2})(?<month>\d{2}).(?<hour>\d{2})(?<minute>\d{2})(?<second>\d{2})$~', $str, $match); echo '<pre>', print_r($match);
You have javascript disabled. You will not be able to edit any code.