Hi I am having problems trying to create a pattern to check my form fields against.
How do I only allow:
any amount of LETTERS (caps or smalls)
only ONE "-" at a time
only one space at a time.
This is what I have so far:
[^a-zA-Z][ ]{1}[-]{1}
why don't it work ???
Thanks,
Mark
How do I only allow:
any amount of LETTERS (caps or smalls)
only ONE "-" at a time
only one space at a time.
This is what I have so far:
[^a-zA-Z][ ]{1}[-]{1}
why don't it work ???
Thanks,
Mark