Answer the question
In order to leave comments, you need to log in
How to write a regular expression for the place of birth field?
Good afternoon, please tell me there are such two lines of regular expressions in JavaScript
const str = /([\ \-\–\'\`\’\.\,])\1/;
const str2 = /(?=[\ \-\–\'\`\’\.\,=]{2})/; но они не работают так как надо
to validate the "Place of Birth" input in the form. Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question