Javascript – Regular expression to include all languages characters in the first name in js
I want to add functionality for user to add First name or Last name in any language for Eg. Spanish, French and Chinese. Right now I am using this RegEx: var firstNameRegex = /^[a-zA-Zu3000u3400-u4DBFu4E00-u9FFFu00C0-u017F-'s]{1,45}$/; But this is only working for…