Powershell Regex Match Array Function In Php