You need to sign in to do that
Don't have an account?
ALI 15
I need a validation for Apostrophe usage is to the letters D, L, and O. (e.g., O’Brien, D'Artagnan...)
I am using pattern="[ A-Za-z-_’]*"
Validation for lightning:input Regex for apostrophe With only D,L and O characters
I need a validation for Apostrophe usage is to the letters D, L, and O. (e.g., O’Brien, D'Artagnan...)
I am using pattern="[ A-Za-z-_’]*"
Try using escape character something like \'
Reference: https://salesforce.stackexchange.com/questions/196769/regex-help-escaping-characters-and-matcher-method
Thanks,
Dhanya