I have the following string (the parts between the double quotes is dynamic so not the same length or content each time) and I need to pick out who is logged on only, don't need any of the other content.
"explorer.exe","2012","Console","1","30,832 K","Running","MYDOMAIN\Administrator","0:00:02","N/A"
Now, I need to get the MYDOMAIN\Administrator part only (not including the quotes) and keep this in a variable.
Could someone help me out with this, i'm sure it is fairly easy for one of you regex experts to do.
Thank you.