Php Regex Replace With Array In C