I need a php function including a preg replace line (or two) which will:
- delete all brackets, apostrophe's, special characters
- replace numbers with spaces
- delete all words less than 3 characters
- trim the spaces
Unfortunately I'm a noob in php, and an uber-noob with regex.
Is there anyone here who can help me out?
- delete all brackets, apostrophe's, special characters
- replace numbers with spaces
- delete all words less than 3 characters
- trim the spaces
Unfortunately I'm a noob in php, and an uber-noob with regex.
Is there anyone here who can help me out?