I need to read a very specific part of a text file and I'm struggling:
My text file lists software (and GUIDs for software) that a particular PC has installed.
A single line of the text file reads like this and typically there may be up to 500 lines per file.
PCNAME {24531475-94B9-4A91-B4AA-16158C6AE026} SOFTWARE NAME VER.NUM.OF.SW SOFTWARE SUPPLIER DATE
I know the name of the piece of software and I can find that inside the text file no problem, but I need to get the GUID out.