Regex accept special french character between double quote
I currently use this regex:
^[a-zA-Z0-9&.""')#*:;<>&`=%?@\}!{(,_+-/$ \[\]\\]+$
And I would accept the special characters:
[a-zA-Z0-9éèêëËÉÈÊàâÀÂîïÎÏçÇôÔûÛùÙ&`.""')#*:;<>&=%?@\}!{(,_+-/$ \[\]\\]+
only if the user has entered the quote and when it will again grabbed the
quote again, the application will accept the first regex.
We should accept :
hello "été" ddd
"été" hello
"été"
hello
But we do not accept :
été
éte "aaa"
"aaa" été
No comments:
Post a Comment