Python Regex Find Substring In Powershell If Elseif