Hi All,
I need a regular expression with following requirements for Name validations.
1. Name should contains atleast one alphabets.
2. It may contains period, hyphen, apostraphe and space( may be multiple but not consecutive).
Eg:
Valid Strings:
test
t.te-test test
test-test'test.test, .test
Invalid strings:
test......test
-.
test----test
I tried with below one, but no luck.
^(?!.*(.)\1)[\s.'-]*[a-zA-Z].*$
Thanks in Advance.