$string = "You\'ve";$string = stripslashes($string); // You've
$string = "\"I\'m so sorry!\"";$string = htmlspecialchars($string); // "I'm so sorry!"