doubledee Posted December 23, 2011 Share Posted December 23, 2011 I wrote this code many moons ago... if (preg_match('#^[A-Z \'.-]{2,20}$#i', $trimmed['firstName'])){ Can someone please help me remember... What do the two # signs do? Thanks, Debbie Link to comment https://forums.phpfreaks.com/topic/253759-question-about-data-validation/ Share on other sites More sharing options...
Pikachu2000 Posted December 23, 2011 Share Posted December 23, 2011 http://us3.php.net/manual/en/regexp.reference.delimiters.php Link to comment https://forums.phpfreaks.com/topic/253759-question-about-data-validation/#findComment-1300887 Share on other sites More sharing options...
doubledee Posted December 23, 2011 Author Share Posted December 23, 2011 http://us3.php.net/manual/en/regexp.reference.delimiters.php Everything I Googled didn't have that. Thanks! Debbie Link to comment https://forums.phpfreaks.com/topic/253759-question-about-data-validation/#findComment-1300890 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.