Php Regex Replace Array Python Definition A Programming