Answers for "accept only first name in regex javascript"

2

javascript regex for firstname

var nameRegex = /^[a-zA-Z\-]+$/;
Posted by: Guest on May-02-2021

Code answers related to "accept only first name in regex javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language