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?
SJshah Reviewed by SJshah on . Preg replace help 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? Rating: 5