How to extract patterns from strings using regex groups #shorts

preview_player
Показать описание
My VSCode Extensions:
- theme: material community high contrast
- fonts: Menlo, Monaco, 'Courier New', monospace
- errors: Error Lens
- extra git help: Git Lens
- tailwind css intellisense
- indent rainbow
- material icon theme
- prettier & eslint
- ES7+ React Snippets

------------

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

"Some people, when confronted with a problem, think “I know, I'll use regular expressions.” Now they have two problems." ;)

NoFailer
Автор

regex was really difficult to read and work with. It made me rethink all my life choices

boredguy
Автор

Thank you. I did learn about how to apply Reg-ex. What I also learnt is about the Iterator that reg-ex returns.

ajithmoni
Автор

To understand RegEx, study finite automata and after that regular expressions, and you'll get a solid understanding of how to use it, except maybe look ahead or look behind, it is actually a higher language than regular languages.

larryd
Автор

Remember to implement your own RegEx for validating emails. Most libraries don't allow emails without a TLD even though the email spec doesn't require a TLD

spicynoodle
Автор

I like the shorts on how to do regex because it is very complex.

idk
Автор

The "g" in the regex is for "global". You can use match instead of matchAll

robbradley
Автор

For more easier way to read group. Use (?<name>regexp)

lidapow
Автор

String replace might be a better fit in this case

dmitrykulakov
Автор

I think regex is the modern day way of casting spells…

szmr
Автор

Hey I love your shorts. I'm wondering if you have any resources or books you'd recommend for an intermediate programmer to learn these concepts or how to do a production code. Thanks!

shreyasshivakumar
Автор

Video suggestion: async iterators and the for-await-of loop

ex-xghh
Автор

i didn't understand the regex. but i did understand the spread operator 👌

sneakypython
Автор

Why "RejEx" and not "RegEx"? Its Regular Expression nor Rejular

YamiSuzume
Автор

Awesome things lo learn, thank you 😍, could you please tell me what is the extension that you use to get the suggestions in red color

gaganagavesh
Автор

Can you do an actual regex class crom a-z (pun intended)

omomer
Автор

What if I need two regex and
Can I do two regex in one line? example
Replace " " with "-" and
Replace ":" with "#"
Like that

ThanHtutZaw
Автор

what is your extension to display inline errors?

daniilkholodkov
Автор

lost me at "I want to loop this ..."

ToNaRrisTheNomadDev
Автор

What is the extension he is using that are displaying error messages

yashoswal