From: keith smith > I have an input string that should only be lower or upper alphas, > numbers and can contain a hyphen. I'm trying to figure out how > to get PHP preg_match to verify the input string only contains these > chars. > preg_match("/[a-z0-9\+\-]/", $vaidateStr)