Added new preg_replace_array helper.