Powershell Select String Regex Capture Javascript Array Length