Probably through preg_replace, I need help creating a function that removes all characters in a string excluding the following characters: a-z 0-9 space
Example:
$string = 'hello & wo^^rld $ #__sig@@n says% hi!!!
tes*ti@@ng 012__3
n**#)@ow';
output should be:
hello world sign says hi
testing 0123
now
