[Solved] How to find the substring \’ in string, PHP


Simple with str_replace:

<?php
$string = "\b\fs\'80.\b";
$replacement = 4;
echo str_replace("\\'", $replacement, $string);

solved How to find the substring \’ in string, PHP