E
E
Eva Slavich2021-06-18 18:11:04
JavaScript
Eva Slavich, 2021-06-18 18:11:04

How to write a validation: the fields "First name" and "Last name" should contain only letters of the Russian alphabet and the symbol "-" (hyphen)?

I found how to validate only Russian letters, I can’t find it for a hyphen

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kllpff, 2021-06-18
@kllpff

Read up on how to write regular expressions.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question