Regular Expression in Javascript Tutorial With Examples

preview_player
Показать описание
Here is Javascript Regex tutorial which will teach you the needed knowledge of how to use Javascript Regex, which functions do you need and what all this symbols do. We will also check on the real example how it all works together.

TIMESTAMPS
0:00 Introduction
0:11 What is Javascript Regex?
0:58 Javascript Regex functions
2:50 Replace function
4:48 Split function
5:53 Match function
7:05 Set symbol
7:47 Ranges symbol
9:37 Negation symbol
10:14 Period symbol
10:57 Start and end of string symbol
11:53 Plus and start symbol
13:04 Question mark
13:25 Brackets
13:47 Or
14:09 Grouping
15:40 Email validation in Javascript
17:36 Phone number validation
18:40 Aliases
20:06 It is difficult

FOLLOW ME

RECOMMENDED VIDEOS

MY COURSES
Рекомендации по теме
Комментарии
Автор

2:00 When I started working at a new company, one of my first tasks was to create a new type of input field. It was a CRM so there were lots of different input elements available already and each of them was validated through regex. As someone who only had little experience using Regex, I was completely overwhelmed by the complexity of it. Later I had to debug some of those elements, which I did but it took ages to even understand what was going on. So, as you said if there is another way to validate something then please avoid using Regex and if you can't avoid it, add documentation with examples to explain exactly what it is doing/supposed to be doing.

damagee
Автор

Your tutorial is several levels above the others, I'm really glad I came across this channel:)

henrycovil
Автор

maybe something similar with lodash aswell ? ))

gigakvachakhia