E
E
Elena2020-05-15 18:58:46
JavaScript
Elena, 2020-05-15 18:58:46

How to validate input field for strict link input?

Tell me how to make validation in the input field for the link so that only the link can be entered? I looked on the Internet, but there are regulars everywhere, but I have not studied them yet. If you know a site where they explain how to do such a validation, please share) The

question is removed. I realized that without regular it will not work

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
ThunderCat, 2020-05-15
@ThunderCat

regulars. From the fact that you have not yet studied them, new functionality will not appear in the language. Accordingly, either teach "forward", or do not take on anything, because you have not yet learned everything new ...

A
aldexnotproger, 2020-05-15
@aldexnotproger

Without regular expressions, you won't get much done.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question