I was trying to get this right but I am not able to get the output in the way i want it.
I want to extract all the parameters which are parsed to this command as a regex
“C:\Program Files (x86)\AVEVA\Everything3D2.10\mon.exe” PROD E3D INIT T:\Scripts\Design\launch.init TTY MOA HZIENG/ENG /EXPORT $M/\sevrer.blablabla\dfs\EXPORT.mac
If i do something like this -match ‘(PROD.*$)’ then it works.
But what i was hoping was to match from the end of the string till the first quote ’ " ’ and this is where i didnt get my way around. I would appreciate your help.
Thanks a lot.