<?php $str = "xxx:'2015-10-09 15:05'";if (preg_match("/(?<=')[^']+/", $str, $m)) { var_dump( $m );}
Standard input is empty
array(1) { [0]=> string(16) "2015-10-09 15:05" }
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!