Hyvor Developer
  Home   Download   Copy
Code
<?php
$str = 'October 22, 2000';
echo preg_replace('/\d/', '$', $str);
Result