I need some helüp regarding regex.
I have this Input
$input=@("Microsoft Windows Server 2003, Standard Editon", "Microsoft Windows Server 2003 Standard Editon")
what I want is that Ouput
$input.Replace($pattern,"R2")
Microsoft Windows Server 2003 R2 Standard Editon
Microsoft Windows Server 2003 R2 Standard Editon
#I do not know how to create the $pattern for this one...
Please can u help me
Kind Regards