OK I am redirecting input and output to an old beta tool called OSPPRUN. It connects to OSPPSVC and tests some functions that I'm using. I dumped it's output but only want part of it. Code: > OK. > 0. 2453acfb-0e3f-49b2-9a78-209b1ff3908c 1. 7bcc5eee-f730-4c93-97c4-877e27333324 2. 82bb1ddf-033e-4de5-a65f-88465f74aecf 3. e2e326c2-ca6a-4577-a305-9d1e03fc5773 OK. > 0. 1ddfa3a5-e89b-44aa-b58a-1a007c00c6b4 1. 4d9f9ff4-b7f5-452b-9587-8d2b38dd0c45 2. 5d77cb5d-6945-497a-a568-d01ffa6d7c80 3. 64026624-f349-46f0-87db-37442cf6f3da 4. 70202bca-2321-4f18-a3ff-29cd3ba38307 5. 98aa5ac0-0173-4df5-a223-670bb3bdef16 6. d8f1b81d-bca4-4879-aea8-3845a14c4824 OK. > Error code hr = 0xC004F012,The Software Licensing Service reported that the call has failed because the value for the input key was not found. > OK. > Bye-Bye If you see the 0., 1, etc lines, I only want those and I want the "1. " removed from it and put into a string list. So it should get all those codes as I put them into a list and pass them to another function and collect them in a second list, then I pass those to a function and it will uninstall the Licenses. I'm using a streamreader to hold all that output in the code blocks.