Im sure its so simple, but everything I have tried/found doesnt work
All I need is a simple pattern to validate names on my website. Names can have letters (case doesnt matter, must start in a letter), numbers, underscores, and dashes
You get the point...
Anyway, the php should be
$name="The Name They are attempting to use"; $pattern='thepattern'; if (preg_match($pattern, $name)) echo "ok"; //etc...
Does anyone know a pattern that will fit this?