<?php $str = "12.03 10:00-11:00 Елка, Земфира"; $res = preg_match('/^(\d\d)[.](\d\d)[ ]+(\d\d\:\d\d)-(\d\d\:\d\d)[ ]+(.+)$/is', $str, $matches); var_dump($res, $matches);
You have javascript disabled. You will not be able to edit any code.