Hello everyone, I have an expression below and I just want to replace the ! inside the " " with ?.
“This is a test! Yes it is”,!
It should say this after replacement:
“This is a test? Yes it is”,!
What is the Regex so I can use it in the below Powershell code? Thanks in advance.
$Content = $Content -replace [Regex]::Escape($string),’?’