D
D
Daniil Sugonyaev2017-10-02 09:35:17
JavaScript
Daniil Sugonyaev, 2017-10-02 09:35:17

How to learn js regular expressions?

Tell me where you can read about regular expressions as fully as possible. I found very little information, although I see that expressions are used all the time. I can compose simple things like /[a-z\w]+/gi myself and understand it, but the tasks are more complicated and you have to turn to the community. How did you teach? Maybe there are sites - simulators on this topic

Answer the question

In order to leave comments, you need to log in

5 answer(s)
T
Timokins, 2019-06-22
@NickProgramm

eval("value");
quotes are not needed

O
Olga Veter, 2019-06-22
@vetero4eg

Well, at least for starters, look at the console, what are the errors there.

G
GreatRash, 2017-10-02
@GreatRash

How often do you use them to teach directly? When I need to write something more complicated [a-zA-Z], I climb here , for example. There is also highlighting, and quick access to documentation, and hints about found occurrences. Of course, there are not enough languages, but this does not interfere much.

A
Artyom Tokarevsky, 2017-10-02
@artemt

It is enough to work through the section "Regular expressions" of the online tutorial learn.javascript.ru

D
Daniil Sugonyaev, 2017-10-02
@coolswood

Joining all the answers, I want to add here an old, but, in my opinion, useful video of Soraks https://www.youtube.com/watch?v=9hLkbhRs7jM

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question