Powershell Extract String Using Regex In Javascript Example Code