Gumbo's answer is correct for your specific specification. But if your "specification" is only "symbolic", then in the end you may need the following:
$str = preg_replace('{ [^ \w \s \' " ] }x', '', $str );
[^ ] : negative character class (everything except inside)
\w : alphanumeric (letters and numbers)
\s : space
\' :'
rubber boots
source share