RickEpnet
asked on
Coldfusion regular expression no numbers
I am trying to do a regular expression that will not allow numbers. The following code does that but it also see dashes, hyphens etc as numbers too. I want to allow everything except number is there a way to do that or do I need to specify each thing I want to allow.
If I need to specify each thing I want to allow that is OK I just need to know how to do that.
Thanks!! :-)
If I need to specify each thing I want to allow that is OK I just need to know how to do that.
Thanks!! :-)
<cfinput type="text" name="fname" message="Please no Numbers in Name Fields" pattern="^[A-Za-z .,]+$" validate="regular_expression" tabindex="1" value="#FNAME#" size="20" maxlength="50">
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.