<?php $query = "'to_date('20-Jan-1970 4:00 AM','DD-MON-YYYY HH:MI AM')'"; $result = preg_replace("/(['])(to_date[(].*[)])(['])/i", "${2}", $query); var_dump($result);
You have javascript disabled. You will not be able to edit any code.