J Jeff New member Aug 10, 2009 #1 Hi! I have a simple PHP regex that validates names, but it tells me that apostrophes in names are incorrect. #^[a-z0-9\' -]{1,35}$#i Could someone please modify this to make it allow apostrophes and hyphens? Thank you!
Hi! I have a simple PHP regex that validates names, but it tells me that apostrophes in names are incorrect. #^[a-z0-9\' -]{1,35}$#i Could someone please modify this to make it allow apostrophes and hyphens? Thank you!
J Jayy T New member Aug 10, 2009 #2 Are you sure the rest of the code is set up correctly? It worked fine for me. Maybe you have the trigger backwards? Hmm
Are you sure the rest of the code is set up correctly? It worked fine for me. Maybe you have the trigger backwards? Hmm