hi all
My matched string works, but I wanted to match only the part in rouded brackets, if possible continuing to use only one line of code
'………Custom Theme name = "mytheme"…….'
$regRes = [regex]::Match($xmlContents, 'CustomTheme name="([^"]*)"')
is it possible to get $regRes to be = to –> theme <– instead of –> Custom Theme name = "mytheme" <–
I know replace takes $1 parameters but my string has a lot more than just that text referenced and I wanted to be able to do this in one line instead of doing two replaces, cleaning the before and after contents of the string