Allowable characters:
validations:
I have a regex with the below validation. Use this as reference
/^(?=[a-zA-Z0-9`'. -]+$)(?!.*[0-9'` -]{2})[a-zA-Z'][^\r\n.]*(?:\.[ a-z][^\r\n.]*)*$/;
Need to add the below validations to the above regex
Examples Valid
Examples Invalid
You could:
. ' or -' or a char A-Z a-zFor example
^(?!.*[0-9.'-]{2})(?!.*[0-9 -] )(?=[^A-Za-z\n]*[A-Za-z])[A-Za-z'][A-Za-z0-9.' -]*$