I need to remove everything (parentheses, punctuation, etc), using PHP, from a text string and leave just text.
Someone suggested this:
$str= trim(preg_replace('/\s*\([^)]*\)/', '', $str));
Also, if there are words like: Bob's it needs to be cleaned to Bob. I also do not need any numbers, just words separated by commas.
Any suggestions would be great!