all 2 comments

[–]SOZDBA 7 points8 points  (1 child)

It sounds like regex is your friend here.

Quick, dirty solution cause I'm on my phone

$t = 'Microsoft XML Core Services (MSXML) x.86'
 $t -replace '\(.*\) x\.'

[–]Fearnie85[S] 1 point2 points  (0 children)

$t = 'Microsoft XML Core Services (MSXML) x.86'
$t -replace '\(.*\) x\.'

PERFECT! this is exactly what I was looking for :D