J Jeff New member Aug 12, 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! Yes I'm sorry it's a negative regex .
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! Yes I'm sorry it's a negative regex .