Jeff
unread,Sep 22, 2009, 10:05:15 PM9/22/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Regex
Never used preg_match in php before, but it's time to "dive in".
My first need is to test name fields and ensure that there are only
letters, spaces, a hyphen, and/or an apostrophe.
So I know I need
[a-zA-z], but how do I also allow ' and - as a part of the permitted
characters?
Thanks!