Python Regex Find Substring In Powershell If And Operator