I had to subscribe. You make a topic in a field that doesn't always get taught with enthusiasm or personality so vibrant! I'm a student with ADHD and heavily rely on interest based learning. You jumping and moving all about kept my brain on my feet and engaged throughout the video. Keep it up, and thanks for the quality content
Dude. Ok so I've been using regex based searches, queries, for some tasks, but the truth is it's like speaking a foreign language by sounding out pre-learned noises. But you... you're like my spirit animal. The way you're teaching is how I learn. Make me feel like a 5 year old with a cookie and you've got my attention. And I'm a grown ass 37 year old dude.
By far the absolute BEST explanation of regular expressions I have ever seen! I now understand how they work and am no longer afraid of them at all! Thank you too much for this!!!!!!!!!!
You have an infectious personality!! Thank you so much, I'll definitely be watching the entire playlist, learning from you is fun! Thanks for the informative tutorial
legend, nice intro thanks! Edit - i watched a bunch of other videos afterwards, i now realise this video is the best on youtube to ACTUALLY understand the key principles of regex. thanks!
I can't thank you more....believe me you made my day...I was struggling with this topic since a week...but finally my search is over , I literally found the best playlist for Regex on youtube or possibly on internet...keep up the good work...hope to see your and siraj colab again😇😇😇...cheers from India
The first video tutorial about programming that I can see who is talking about, AND I REALLY LIKE IT!! Is nice, enjoyable, easy, grateful, turned compressible and interesting to watch. I learned in an easy way with your video. I hope it works for all your videos (and thank you for them). I'm going to look for python tutorial on your list
Great introduction ! I was confused when I was trying to figure out what regular expressions were by reading pdfs yet your tutorials are really helpful so thank you a lot
this is the best explaining i've ever seen, you are an awesome person and thank you so much no only for this video but for all videos and your hard work is giving us a huge help
Thank you for this! No exaggeration, I've been coding for more than 10 years and avoided regular expressions because I literally fall asleep reading about them. And where I really needed one, I'd find a close substitute on google and bumble through it on regex101. Your lively presentation kept my interest and I'm going on the next video. Thank you!!
Kudos...very nice explanation The person who is teaching regex in this video is very nice, the way he delivered the episode 1 makes you feel engaged all the time, Looking forward for more videos Again thanks for making this
Thanks for your regex tutorial. I have use this on this day writing this comment. I reviewed all of your regex tuts yesterday coz i am hinting that there will be a regex like question in my exam, and there is on the backend challenge part. I have answered it correctly. I dont know if ill be qualified for the position but I am confident that my answers our correct. it is a good knowldge to add also :) thanks sir
So glad I found your video, although it is many years old. Am so grateful, thanks for applying yourself, your personality and skill. I will subscribe, and watch all your videos.
I started learning JS a month ago aproximately, and React at the same time. I was gonna ask some friends if it is useful to learn about regex, hahaha, but dude, your enthusiasm made want to learn more about it! Thanks, we need people that show the way the way you do (a.k.a also known as "teachers" in the traditional world).
This guys should be cloned and teaching all programming courses. Smart and so passionate. Thanks so much for teaching us. You have a real gift. 👍👍👍👍🙏🙏🙏
You are a god. Currently in Intro to Finite Automata and my prof is utter shit. Your videos on this make it actually easy to understand when I was 100% lost before.
Thanks Daniel. Undoubtedly great videos and fun to watch as well. Kudos. I am curious how you make videos, what preperations do you do for making videos and how you make your desktop screen appear at your back? Thanks in advance. :)
(5:20) How to match phone numbers: /(\+[1-9]+ ?)?\(?[0-9][0-9 .)\-\/]{5,11}[0-9]/ It will match invalid phone numbers too, but it will cover a much broader range of phone numbers, including international ones. But a more precise code could be written if you want to avoid incorrect matches.
Liked and subscribed ! ... i had a question i forget how to code the regular expression (find) i noticed the button u had on the page u made in this regular expression video i was wondering if dont mind me asking if u could tell me the regular expression for (find) i google searched it so many times different ways and i cant find it anywhere ... thx.
You're dope man. I wish you were my instructor in college. I had an instructor who had me hate everything about regular expressions, now I'm more engaged than ever. I blame illuminati
This was great, I'm scared of (and that makes me hate) RegEx and that's the reason I want to master them. Your video was my first step and I'm extremely glad I found it. Plus, I laughed a couple of times... in a regex video, so that is a feat on it's own. THANKS!
This is great! But there's one mistake... . (dot) matches anything except a new line, so it doesn't actually select everything, from what I understand :P
For anyone learning regular expressions, I highly recommend using a site called "regex101 dot com" (Not sure if I can post links here) It does syntax highlighting like atom does in this video, but it also displays every part of your regex translated into English on the right side.
Here is a conundrum for you. I have two patterns of strings: Name number 1 hit Name number 2 for 1234 points of melee damage Name number 1 hit Name number 2 with nanobots for 2468 points of melee damage Now I wan to have match groups as follow (Name number 1) hit (Name number 2)( with nanobots) for (\d+) points of (type) damage I am trying to do this with the expression (.+)? hit (.+)?( with nanobots)? for (\d+) points of (.+) damage However instead of group 2 being "Name number 2" it ends up as "Name number 2 with nanobots" because too greedy and/or too lazy. Note that space is a valid character for the names, so using word boundaries is out of the question. How can I solve this?
Super late to the party, but I got a (not completely satisfactory) solution: /(.+) hit (?:(.+)(?= with nanobots)|(.+)(?= for)) ?(with nanobots)? for (\d+) points of (.+) damage/ This will select all the info you want in both cases (with or without nanobots), but it has one caveat: "Name Number 2" will be in the element 2 or 3 of the result depending on the case, so you will need to fix the result arrays before using them. So maybe a better solution is to define a function that first detect if the string contains "with nanobots", and chooses between two patterns to apply accordingly.
REGEX WORKS BY FIRST DOWNLOADING THE WEBSITE AND THEN PICKING OUT THE CHARACTERS LIKE PERCENT % OR + AND WRITING THEM DOWN THEN USING THE BROWSER (GOOGLE )TO LOOK AT THE SCREEN WITH THE HTML. U THEN USE REGEX TO SEARCH THE HTML FOR THE % OR + THAT U PICKED OUT OF THE SCREEN THEN U CAN COUNT LEFT OR RIGHT ON THE SCREEN TO GET TO THE CHARACTERS U WANT TO SELECT AND READ IN UR PROGRAM (SCRAPING THE DATA ). THE SLANG NAME FOR THIS IS (SCREEN SCRAPING ).
Awesome! You turned my hate for regex into curiosity!
+1))
Exactly my feeling after finishing the video!
Same here!
he turned my curiosity for regex into hate for him
Agreed! Whenever I try to learn about regex my mind normally just goes blank and I want to gouge my eyes out. This video just busted through that.
you're one heck of a happy kid man. you make the topic interesting and lively. keep it up. Thanks!
I had to subscribe. You make a topic in a field that doesn't always get taught with enthusiasm or personality so vibrant! I'm a student with ADHD and heavily rely on interest based learning. You jumping and moving all about kept my brain on my feet and engaged throughout the video.
Keep it up, and thanks for the quality content
Dude. Ok so I've been using regex based searches, queries, for some tasks, but the truth is it's like speaking a foreign language by sounding out pre-learned noises. But you... you're like my spirit animal. The way you're teaching is how I learn. Make me feel like a 5 year old with a cookie and you've got my attention. And I'm a grown ass 37 year old dude.
I know everyone has already said it, but this was so well made and keeps you engaged throughout! Well done.
You sir are the best. Regex is a truly overlooked topic, but extremely useful, generic, and language agnostic. Bravo
This channel is a godsend even 4 years later
By far the absolute BEST explanation of regular expressions I have ever seen!
I now understand how they work and am no longer afraid of them at all!
Thank you too much for this!!!!!!!!!!
You have an infectious personality!! Thank you so much, I'll definitely be watching the entire playlist, learning from you is fun! Thanks for the informative tutorial
Thanks for the nice feedback!
legend, nice intro thanks!
Edit - i watched a bunch of other videos afterwards, i now realise this video is the best on youtube to ACTUALLY understand the key principles of regex. thanks!
I can't thank you more....believe me you made my day...I was struggling with this topic since a week...but finally my search is over , I literally found the best playlist for Regex on youtube or possibly on internet...keep up the good work...hope to see your and siraj colab again😇😇😇...cheers from India
The first video tutorial about programming that I can see who is talking about, AND I REALLY LIKE IT!! Is nice, enjoyable, easy, grateful, turned compressible and interesting to watch. I learned in an easy way with your video. I hope it works for all your videos (and thank you for them). I'm going to look for python tutorial on your list
Great introduction ! I was confused when I was trying to figure out what regular expressions were by reading pdfs yet your tutorials are really helpful so thank you a lot
this is the best explaining i've ever seen, you are an awesome person and thank you so much no only for this video but for all videos and your hard work is giving us a huge help
Watching your tutorials in 1.5x speed is both top-grade informative and hilarious.
Thank you for this! No exaggeration, I've been coding for more than 10 years and avoided regular expressions because I literally fall asleep reading about them. And where I really needed one, I'd find a close substitute on google and bumble through it on regex101.
Your lively presentation kept my interest and I'm going on the next video. Thank you!!
Kudos...very nice explanation
The person who is teaching regex in this video is very nice, the way he delivered the episode 1 makes you feel engaged all the time,
Looking forward for more videos
Again thanks for making this
Thanks for your regex tutorial. I have use this on this day writing this comment. I reviewed all of your regex tuts yesterday coz i am hinting that there will be a regex like question in my exam, and there is on the backend challenge part. I have answered it correctly. I dont know if ill be qualified for the position but I am confident that my answers our correct. it is a good knowldge to add also :) thanks sir
So glad I found your video, although it is many years old. Am so grateful, thanks for applying yourself, your personality and skill. I will subscribe, and watch all your videos.
I started learning JS a month ago aproximately, and React at the same time. I was gonna ask some friends if it is useful to learn about regex, hahaha, but dude, your enthusiasm made want to learn more about it! Thanks, we need people that show the way the way you do (a.k.a also known as "teachers" in the traditional world).
This guys should be cloned and teaching all programming courses. Smart and so passionate. Thanks so much for teaching us. You have a real gift. 👍👍👍👍🙏🙏🙏
You'r awsome. You make difficult thing look easy.
This dude has some seriously contagious enthusiasm!
I'm not a fan of RegEx but I really enjoy your style of teaching. I'll watch this over and over again until I manage to get a grip on it. Thanks!
Just came here to learn Regex, already in love with your passion for them :)
Thank you, glad to hear!
Best REGEX explanation found in the the whoooooole universe :)
I feel like a child. Your excitement for Regex makes ME excited lmao
subscribed within the first 2min of the first vid I've ever seen by this guy b/c not monotone and not annoying.
doesn't sound like much but apparently, in code tutorials, it is...
Thank you for making this joyful! I dreaded learning regex
Thanks for showing me the proper way of thinking and looking at how to make a regex!
I suck at learning but this was fantastic and I followed the whole way through - thanks for the good energy! You are an excellent teacher.
i couldn't understand regex by my self. this video helped me a lot ,thanks men.
Just what the doctor ordered. Looking forward to watching the entire playlist.Thanks!
You are a god. Currently in Intro to Finite Automata and my prof is utter shit. Your videos on this make it actually easy to understand when I was 100% lost before.
Thank you so much. My professor's lectures are like watching paint dry. You make things actually seem fun haha
Thanks Daniel. Undoubtedly great videos and fun to watch as well. Kudos.
I am curious how you make videos, what preperations do you do for making videos and how you make your desktop screen appear at your back?
Thanks in advance. :)
Here is him explaining and giving a tour to his studio setup in NYU. : ua-cam.com/video/JkznVy_Ciwk/v-deo.html
damn 😭. This video made me so happy I want to cry
If more tutorials had this kind of passion behind them I would be WAAYY smarter. This guy is super siked about regular expressions.
My face coding channel covering my favorite topic. Yes please!
This finally cracked the shell of regex for me, thanks so much for this.
your explanation is awesome ❤️
I seriously hated regular expressions before this video! Moving onto your next video so good job!
For some reason I became the type of person that clicks on a regex video on purpose
who the hell would thumbs down this brilliant tutorial?
very greatful for free high quality content
If you are trying this in MS-Word, in the Find dialog box, press More>> and select Use Wildcards. And instead of '\d' you have to write [0-9].
you have a great ability to make something like regex less intimidating, thank you!
your explanations are so good
Seriously, what seemed like a monster is literally a unicorn! REGEX FTW
this video is quite informative.
(5:20) How to match phone numbers:
/(\+[1-9]+ ?)?\(?[0-9][0-9 .)\-\/]{5,11}[0-9]/
It will match invalid phone numbers too, but it will cover a much broader range of phone numbers, including international ones. But a more precise code could be written if you want to avoid incorrect matches.
I'm teaching myself JS and your videos are so helpful! Thank you so, so much!
Great quick explanations. I love your energy. :)
Sir your way of teaching is fantastic! Grows interest to know more
A very passionate speaker!
Thank you for the explanation... I saw some videos before , they were just confusing me... Now it is all clear
Your energy is amazing!!
the down side of regular expression is that ...thats how they look like : )
Liked and subscribed ! ... i had a question i forget how to code the regular expression (find) i noticed the button u had on the page u made in this regular expression video i was wondering if dont mind me asking if u could tell me the regular expression for (find) i google searched it so many times different ways and i cant find it anywhere ... thx.
You're dope man. I wish you were my instructor in college.
I had an instructor who had me hate everything about regular expressions, now I'm more engaged than ever.
I blame illuminati
Thanks for your videos! Your personality helps me stay focused.
Always skipped this part of programming but this is better explained, thanks
Expained well and fun. Thanks man!
This was great, I'm scared of (and that makes me hate) RegEx and that's the reason I want to master them. Your video was my first step and I'm extremely glad I found it. Plus, I laughed a couple of times... in a regex video, so that is a feat on it's own. THANKS!
gr8 work .....
full of energy .....excitement
is so funny learn watching your videos. I´m a little bit disperse but i understand all the things u say, i just love it.
what a breath of fresh air. Love the enthusiasm!!!!!!!!
This is great! But there's one mistake... . (dot) matches anything except a new line, so it doesn't actually select everything, from what I understand :P
Thanks for such a great intro to the Regular Expressions!!
Thank you so much. Now I have started learning regular expressions after hard time.
Awesome, you make it look easier for me
I'm over here pretending i'm like this. :-)
Excellent video, thanks!
Awesome! I don't speak english very well, but I could basically understand what that means. Thank you.
Thanks for making this super simple to understand!
Thanks, this was really fun and interesting to watch. Keep up the great work.
What a big help! I finally understand it!
Yay!
Incredible teaching skills... Thanks for this great regex series.
I am in love with javascript because of you
this is really amazing learning
Thank you. Your way of explaining things is truly inspiring ;)
Thanx for such quality content
Dude, you are Incredible!
Great video ! I would love to have your amount of energy on a Monday Morning
u r great sir just i love u & plz share all details of the topic u r talking about thanks ...u r awesome..
A very good, simple and clear explanation :) Thanks a lot!
This was very easy to understand. Thank you
I love😍 ur teaching. ...I'll subscribe right now✌❤❤
For anyone learning regular expressions, I highly recommend using a site called "regex101 dot com" (Not sure if I can post links here)
It does syntax highlighting like atom does in this video, but it also displays every part of your regex translated into English on the right side.
yes its helpful. im using it right now
What environment would I use Regex in? Say I paste a dump of information into a text file. What would I use to use regex commands on that test file?
Best explanation ever!
Here is a conundrum for you. I have two patterns of strings:
Name number 1 hit Name number 2 for 1234 points of melee damage
Name number 1 hit Name number 2 with nanobots for 2468 points of melee damage
Now I wan to have match groups as follow
(Name number 1) hit (Name number 2)( with nanobots) for (\d+) points of (type) damage
I am trying to do this with the expression
(.+)? hit (.+)?( with nanobots)? for (\d+) points of (.+) damage
However instead of group 2 being "Name number 2" it ends up as "Name number 2 with nanobots" because too greedy and/or too lazy.
Note that space is a valid character for the names, so using word boundaries is out of the question. How can I solve this?
Super late to the party, but I got a (not completely satisfactory) solution:
/(.+) hit (?:(.+)(?= with nanobots)|(.+)(?= for)) ?(with nanobots)? for (\d+) points of (.+) damage/
This will select all the info you want in both cases (with or without nanobots), but it has one caveat: "Name Number 2" will be in the element 2 or 3 of the result depending on the case, so you will need to fix the result arrays before using them.
So maybe a better solution is to define a function that first detect if the string contains "with nanobots", and chooses between two patterns to apply accordingly.
you made coding FUN
I love Daniel!! How is he so awesome ?!
This video would make a great drinking game. Take a shot every time he says 'literally'. LOL
Awesome ... Im starting to love regex ... Thankyou so much
Great job bro, by the way is it possible to search with regex in windows ?
Finally the head pain is gone......... a little. Let me go through the next course.
gr8 work ....
gr8 explanations....
You're silly! The kind of developer I like to work together :) Thanks for the vid
REGEX WORKS BY FIRST DOWNLOADING THE WEBSITE AND THEN PICKING OUT THE CHARACTERS LIKE PERCENT % OR + AND WRITING THEM DOWN THEN USING THE BROWSER (GOOGLE )TO LOOK AT THE SCREEN WITH THE HTML. U THEN USE REGEX TO SEARCH THE HTML FOR THE % OR + THAT U PICKED OUT OF THE SCREEN THEN U CAN COUNT LEFT OR RIGHT ON THE SCREEN TO GET TO THE CHARACTERS U WANT TO SELECT AND READ IN UR PROGRAM (SCRAPING THE DATA ). THE SLANG NAME FOR THIS IS (SCREEN SCRAPING ).
Thank you so much! Your video helps a lot!