Powershell Split File Based On Regex Capture Javascript W3schools