Solution: 1
You can use str_replace() to replace characters in a string:
$abc = 'Hello "Guys", Goodmorning';
$abc = str_replace('"', '$^', $abc);
echo $abc;
// Output: Hello $^Guys$^, Goodmorning
✅ This approach directly replaces all occurrences of ” with your chosen string ($^).