Added preg_replace builtin in regex.py, and str_replace in string.py.
Added test case for php regular expressions