Re: [PHP] need help with parsing form input ...

2003-03-11 Thread Jason k Larson
How about: preg_match_all ('/([a-zA-Z0-9]+)/', $subject, $matches); HTH, Jason k Larson Justin French wrote: Unfortunately, I'm no good with regexp's, so you'll have to hope someone who IS reads your post :) Justin French on 12/03/03 5:14 AM, Kenn Murrah ([EMAIL PROTECTED]) wrote: Greetings.

Re: [PHP] need help with parsing form input ...

2003-03-11 Thread Justin French
Space at the beginning or end of a string can be removed with trim(). In order for someone to write you a regexp, you need to change your question to the following: " I need to ensure a string only has the following characters in it: A-Z a-z 0-9 Can someone please help me write a regexp which str