<?php $string = 'April 15, 2003'; $pattern = '/(\w+) (\d+), (\d+)/i'; $replacement = ''; echo preg_replace($pattern, $replacement, $string); ?>
You have javascript disabled. You will not be able to edit any code.