Guys,
I'm trying to use a regex in preg_match to exclude strings that don't begin with a-z, A-Z or ,
have any remaining chars that are a-z, A-Z, 0-9 or and that DO NOT include white space.
The expression /[a-zA-Z][a-zA-Z0-9]*/ produces the following results when passed the strings:
abc (passes - ok)
ab c (passes - should fail)
abc= (passes - should fail)
What am I missing?