PHP: Remove special chars and punctuation from strings

This function is useful for languages like Portuguese, french, etc..