Hi,
I have pattern which is /^\w(?:(?![ \\.']{2,})[\w \\.'])*/. It is for name which starts with words & allows .(period), (space), '(Single Quote) but two consecutive .(period), (space), '(Single Quote) are not allowed.
I am using ng-pattern= /^\w(?:(?![ \\.']{2,})[\w \\.'])*/ which is not working allowing @! anything. I don't know why it is happening. Please help.
Positive test cases : A.B Shar'ma
He.llo's
Negative Test Cases: He.llo's@@#!
...Raj
'''MyName@!
If you want build you own test case, Please enter a valid name. Special characters other than (Space, Dot and Single Quote) are not allowed.
Currently I am using Angular version 1.5.3;