Been struggling with regex for a long time but after your first video literally everything fell in place and I stayed up until 3 making random regexs. Thanks man your videos really help.
Your explanation about regex are the best explanations EVER. Pleasant, to the point, well structured without any unnecessary complexities right off the bat. You are the best. Thx.
i absolutely hate anything related to computer but since my engineering program imposes a couple of programming courses i had to learn it, but man the way you explain is extremely enjoyable that you changed my perspective about Coding and i actually did enjoy it. Thanks a lot!
I was really very confused with the regex stuff for the last couple of days and wasn't able to implement it anywhere. Your video cleared this concept in a very systematic way and I like your humorous way of teaching a lot. It's like feeling relieved and laughing at the same time.
Daniel. Love the videos! I started reading Friedl's book, it is great. But, you cover the main topics in such an easy to understand and fun way. Thanks so much!
+The Coding Train 13:08 You can also have dotted email domain, eg, daniel.shiffman@nyu.faculty.edu or daniel.shiffman@nyu.business.admin.edu How would you fix that?
Hi Daniel thanks for this series of Regex,I learnT them in my college but I had tough time understanding them and I had no Idea how would I use them but now I find them so interesting and useful thanks a lot, and I think at 12:58 it would be wrong to add [\w.]+ at the beginning because this would also accept emails beginning with one or more dots e.g ..@sdfsd.dsfdsf how about this regex [\w]+(_|.|\w)[\w]+@[\w]+.(in|edu|com|org|ac|net)
Great videos, just learning about regex and this is a very helpful video. At 8:26 why does [^abc]{3} not match the 'num', 'n ', 'reh' or 'lw' in the words numbers, can , reachable and always? If the regex is meant to match anything that is not 'abc'? Is it because they must not be abc in lengths of 3 characters?
Yes, it must be in lengths of 3 characters. The "{3}" at the end means it searches for "not a, b, or c" in 3 consecutive character places. And the "n" in "number" is already taken in a matching search result (spaces are a match, remember). Search results will not overlap as he mentioned in an earlier video, so next it checks the next 3 characters after the "e n" match. There is a "b" in "umb" so it doesn't match and continues checking for more matches after that.
I think the phone number regex would allow *(123.123-1234* or *(123-123-1234* How would you say "IFF theres a open parenthesis then there must be a parenthesis in after the third digit"?
I didn't finished all of the advanced ones, took a break and doing some Udemy courses. I hate algorithms but love the feeling when all the tests to pass. I could never tell if they were actually hard or I was just horrible at doing them.
you know what helps me is watching the Graham Hutton videos. For example, ruclips.net/video/pcJHkWwjNl4/видео.html If all algorithms were explained in a similar way that would have been really awesome.
Interesting way to look at it, seems like he'd be a cool professor to have. I'll probably end up buying a book or two on using algos in JS, I know they aren't really a major concern for jr devs but I'd love to get to a point where I can breeze through them. There's a course on udemy I did by a guy named Eric Traub. There are tons of resources for algos in Java and other languages, but his course is on JS and helped a good bit though you could probably find similar videos on youtube.
8:30 what i'm seeing here confuses me. I'd expect everything except a, b, or c to be highlighted, but almost the entire word "reachable" is omitted. Can someone explain?
Sam Macaluso it’s a little late, but note that the regex was [^abc]{3}, so only sequences that have no 3 a, b, or c IN A ROW are highlighted. Take a look at Reachable and you will see what I mean
Am I understanding this right? It is highlighting any sequence of 3 characters that does not include a, b, or c? Once it highlights a sequence, the selector moves on to the next character after the selected portion, leading to what I perceived as seemingly weird behavior? This would explain why a is not always the first character in its chunk, but sometimes the second or third. Thank you.
i have started learning Regular expressions and came accross this video...great session ..thank you so much....one quick question though, the window that we are seeing where you are typing ?could you please share the link so that i can also start practising :)
"Not" 0-5 doesn't make sense.. it's leaving dashes, dots, 6's and 7's in there. I'm not understanding how it's choosing a "not" abc either. please further clarify [\w .] (escaped w in brackets means any number of characters?
Sempai, when you wrote [^abc]{3}, which means any char but a,b,c. STILL matched other letters that come after c, why's that? like the word "always" and "reachable"
other tutorials on RUclips: If you want to select this, write this. tutorials on this channel: Daniel: UHHH hmmm how could we solve that problem? me thinking: Yeah that is a good question, how could I solve this? Daniel: What if I told you there is a brilliant solution (hitting a cringe soundfx button)
Following the python documentation: \b is word boundary. This is a zero-width assertion that matches only at the beginning or end of a word. A word is defined as a sequence of alphanumeric characters, so the end of a word is indicated by whitespace or a non-alphanumeric character.
How tf is calling these expressions "regular" sensible given they don't follow their own pattern of *meta characters are appended to backslashes and literals aren't* ?
If you want to test your regex use regexr.com/ It breaks up the entire expression and explains what each section does. Its very helpful especially when starting out
Man I love your energy and bubbliness.
I need weed
Ahaha, especially when he just like that gave up his email adresses so cute 💖
Been struggling with regex for a long time but after your first video literally everything fell in place and I stayed up until 3 making random regexs.
Thanks man your videos really help.
Same
I don't know why but I keep smiling at how you act, not to mention that rainbow thing in the background. So fabulous xD.
Amazing tutorial.. the way you explain the things... outstanding.. full of energy... thank you very much....
Honestly makes me wonder why I'm even paying for tuition when I have access to this type of material. Cheers.
Me too. LOL
Plus, Daniel uses his videos as material for some of his NYU courses, so you're literally getting free college material
A: There is no reason
Your explanation about regex are the best explanations EVER. Pleasant, to the point, well structured without any unnecessary complexities right off the bat. You are the best. Thx.
My first thought when I got it "I have the power!!!". Thank you so much, you saved me so much time editing my PhD on LaTEX.
i absolutely hate anything related to computer but since my engineering program imposes a couple of programming courses i had to learn it, but man the way you explain is extremely enjoyable that you changed my perspective about Coding and i actually did enjoy it. Thanks a lot!
I was really very confused with the regex stuff for the last couple of days and wasn't able to implement it anywhere. Your video cleared this concept in a very systematic way and I like your humorous way of teaching a lot. It's like feeling relieved and laughing at the same time.
At first I hated your videos, but now I like them. Good work!
Goodness this finally makes sense, I have been bouncing off regular expressions for ages. Thank you!
The best professor I know so far... What an energy!
I just love the way you teach. Thank you for being that enthusiastic
Daniel. Love the videos! I started reading Friedl's book, it is great. But, you cover the main topics in such an easy to understand and fun way. Thanks so much!
Thank you 🙏 I feel so much confiedent with regex now, its a great tool to learn and practice.
Great vibes!! as always
Thanks for making such WONDERFUL videos Daniel, really loved the way you teach with this incredible and captivating Energy!!!
God Bless You!
+The Coding Train
13:08
You can also have dotted email domain,
eg, daniel.shiffman@nyu.faculty.edu or daniel.shiffman@nyu.business.admin.edu
How would you fix that?
best regix explanation
one can say regixplanation
It just keeps getting better.
Thank you
I don't know if you know but you are hilarious in a very good way. I would love to be in the same office as you =)
this was really helpful , thanks a lot for doing all of this for free Daniel !
Hi Daniel thanks for this series of Regex,I learnT them in my college but I had tough time understanding them and I had no Idea how would I use them but now I find them so interesting and useful thanks a lot, and I think at 12:58 it would be wrong to add [\w.]+ at the beginning because this would also accept emails beginning with one or more dots e.g ..@sdfsd.dsfdsf
how about this regex [\w]+(_|.|\w)[\w]+@[\w]+.(in|edu|com|org|ac|net)
or .+@
Thank you for this great explanations of RegEx!
Excellent series. Thanks Shifty 🤭
My Best Regex teacher
Best explanation I have ever seen
Great videos, just learning about regex and this is a very helpful video. At 8:26 why does [^abc]{3} not match the 'num', 'n ', 'reh' or 'lw' in the words numbers, can , reachable and always? If the regex is meant to match anything that is not 'abc'? Is it because they must not be abc in lengths of 3 characters?
Yes, it must be in lengths of 3 characters. The "{3}" at the end means it searches for "not a, b, or c" in 3 consecutive character places.
And the "n" in "number" is already taken in a matching search result (spaces are a match, remember). Search results will not overlap as he mentioned in an earlier video, so next it checks the next 3 characters after the "e n" match. There is a "b" in "umb" so it doesn't match and continues checking for more matches after that.
I think the phone number regex would allow *(123.123-1234* or *(123-123-1234*
How would you say "IFF theres a open parenthesis then there must be a parenthesis in after the third digit"?
I really appreciate your help in resolving my problem!
These videos are excellent - clear, positive and helpful. Well done (and thank you). :-)
"Now im gonna get a bunch of emails. Maybe i should spell my name wrong... eehhh never mind its fine" hahaha
Boy! Regex is such a boring topic, u made it absolutely interesting and easy. Wot an energy
How are there only 9 comments, this video is great!
How many people found their way here as they're working through the FreeCodeCamp algorithms?
Me. I'm doing a palindrome challenge and need be brush up on regex.
I didn't finished all of the advanced ones, took a break and doing some Udemy courses. I hate algorithms but love the feeling when all the tests to pass. I could never tell if they were actually hard or I was just horrible at doing them.
you know what helps me is watching the Graham Hutton videos. For example, ruclips.net/video/pcJHkWwjNl4/видео.html If all algorithms were explained in a similar way that would have been really awesome.
Interesting way to look at it, seems like he'd be a cool professor to have. I'll probably end up buying a book or two on using algos in JS, I know they aren't really a major concern for jr devs but I'd love to get to a point where I can breeze through them. There's a course on udemy I did by a guy named Eric Traub. There are tons of resources for algos in Java and other languages, but his course is on JS and helped a good bit though you could probably find similar videos on youtube.
I got here after a poor explanation from HackRank 30 days of code
Thanks for your help, Daniel!
dan the man with those solid learnin tips
8:30 what i'm seeing here confuses me. I'd expect everything except a, b, or c to be highlighted, but almost the entire word "reachable" is omitted. Can someone explain?
Sam Macaluso it’s a little late, but note that the regex was [^abc]{3}, so only sequences that have no 3 a, b, or c IN A ROW are highlighted. Take a look at Reachable and you will see what I mean
Am I understanding this right? It is highlighting any sequence of 3 characters that does not include a, b, or c? Once it highlights a sequence, the selector moves on to the next character after the selected portion, leading to what I perceived as seemingly weird behavior? This would explain why a is not always the first character in its chunk, but sometimes the second or third. Thank you.
i have started learning Regular expressions and came accross this video...great session ..thank you so much....one quick question though, the window that we are seeing where you are typing ?could you please share the link so that i can also start practising :)
your explanation is perfect awesome
10:30 hot single capital letters ready to match in your area!!
Lot of love from me Daniel.Tnx Man
King among coders
Dude. You're so dope. Keep it up.
hey i am from india. thank you very much man, you are superb
"Not" 0-5 doesn't make sense.. it's leaving dashes, dots, 6's and 7's in there. I'm not understanding how it's choosing a "not" abc either. please further clarify [\w .] (escaped w in brackets means any number of characters?
Thank you! You helped me a lot.
Is there any way we can have some logic that allows a ')' on the fourth place only if the phone number begins with a '(' ?
Your videos are awesome.
Awesome video, thankyou.
Thanks man, you are a great help
Excellent, thanks so much !!!
Sempai, when you wrote [^abc]{3}, which means any char but a,b,c. STILL matched other letters that come after c, why's that? like the word "always" and "reachable"
Because, neither always nor reachable contain any of the characters [abc], 3 times in a row
I love this guy
Very helpful!
loved your videos and your eneerrgy
another great video!
افضل شرح لل ريجكس
thank you very much .you are better
Awesome video
you are the best.
Thank you, new sub
You should make it (?:pat|pat) if you want to use it just for grouping and not for capturing.
Thank you so much!
other tutorials on RUclips:
If you want to select this, write this.
tutorials on this channel:
Daniel: UHHH hmmm how could we solve that problem?
me thinking: Yeah that is a good question, how could I solve this?
Daniel: What if I told you there is a brilliant solution (hitting a cringe soundfx button)
nice video!
Thanks my teacher
What does \b actually do?
Following the python documentation:
\b is word boundary. This is a zero-width assertion that matches only at the beginning or end of a word. A word is defined as a sequence of alphanumeric characters, so the end of a word is indicated by whitespace or a non-alphanumeric character.
Is the editor called Atom?
Yes! For more:
ruclips.net/video/HZ4D3wDRaec/видео.html
ruclips.net/video/d3OcFexe9Ik/видео.html
Your passion about regrx turn my hate regex to love regex
Much appreciated
I just now noticed Adam isn't someone, it's the text editor.
Cooooool
100th comment.
that's true.
But I'm wondering what took me long to find this channel
parei em 6:30
Why weren't you my professor in college?
Thank you very much, but it will be great if you are more organised)
The last solution is crazy complicate when i first met him
How tf is calling these expressions "regular" sensible given they don't follow their own pattern of *meta characters are appended to backslashes and literals aren't* ?
If you want to test your regex use regexr.com/
It breaks up the entire expression and explains what each section does. Its very helpful especially when starting out
You are so nice
1:12 is going to be meme
you cute
Awesome video
you are the best