You can do a number of things here, but the two approaches I would choose from are:
Use str_replace()
:
$string = "people are using Iphone/'s instead of Android phone/'s";
$result = str_replace('/','',$string);
echo $result;
// Output: people are using Iphone's instead of Android phone's
If the slashes are backward slashes (as they probably are), you can use stripslashes()
:
$string = "people are using Iphone\'s instead of Android phone\'s";
$result = stripslashes($string);
echo $result;
// Output: people are using Iphone's instead of Android phone's
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…