How can I strip punctuation except for these characters . = $ \' - € %
.
=
$
\'
-
€
%
Here's a neat way to do it:
preg_replace("#[[:punct:]]#", "", $target);