<?php $time = 'Monday at 12:33 PM'; $pattern = '/\w+\s(\d+):\d+/'; $pattern = '//'; preg_match($pattern, $time, $matches); print $matches[0]; ?>
You have javascript disabled. You will not be able to edit any code.