7 years later and so helpful. Thank U! Life ur enthusiasm when u teach. Makes listening and learning so much better. Wish there was more teachers like u
I feel like i got some kind of superpower now when i learned these regular expressions. Oh boy ladies are gonna be all over me when i show them my new editor skills.. :D
You are a freakin' hero. I've been having such a difficult time with regex, but your videos simplified them and actually made them something I can appreciate. Thanks!!
you are literally one of the best teachers Ive ever seen. I consider myself a decent teacher, and I watch many others. but you have a natural ability to make things straight forward
Literally the best regex video I ever found! The instruction on coding platform is explained so badly but this one is amazing! The examples are so easy to be understood.
You have decoded the most cryptic part of JavaScript and freed me of my fear of running into regex in the wild one day and not knowing how to handle them confidently. Thank You
Never stop making regEx videos! I’ve learned more from you from three videos than I have from a 6 month bootcamp. Thank you, you are amazing and make learning freakin’ awesome. You might also be making rainbows safe for everyone again.
What can you say for this guy? Literally have been trying to make a reg expression for a string, blank space and comma and not only I did it NO "stackoverflow copy-pasting code" but, actually chilled back, watched a couple of vids and understood what I was doing. Excellent series dude.
He made me feel the same way. Was able to solve a problem at free code camp in one line, when the advanced solution provided took 4. Made me feel real good lol
Ahh! I'm so glad you made a video on REGEX. Now I'm confident I will finally be able to wrap my head around this powerful language. Thank you Daniel, you're one hell of a great teacher :D
Thanks alot!! Was googeling around for at least half an hour, still being confused afterwards. This made me understand capturing groups in 6min. And you have a great enthusiastic vibe!
Thank you so much for the videos about regex and your perfect explanations! I tried to understand regex by reading tutorials for so long, but obviously I am too stupid. Now, thanks to your videos, I basically understand this mysterious regex stuff, especially this greedy thing. Your videos are so great and also funny! Thank you!
Dash inside of character class can be first or last, just not between any two other characters. This comes in handy when you want to match a ] inside the class since that character MUST be first (or escaped) in order to be valid. In that case something like []().-] (match right bracket, open paren, close paren, dot and dash) is valid.
Thanks you. I've made due by googling every once in a while when I needed a regex, but it's good to have a clear and friendly break down with examples.
This is the first time I get here, but I have to say you're damn great! You made this part of regEx clear and simple. Thank you so much, mate. Regards from Spain!
I think of all the times he mentions editing the video, but doesn't. Then I see this. What the heck kinda goofy thing did he think was actually necessary to edit out? LOL
This is pretty cool, i was looking to make a chat app using canvas and a sprite font sheet,,, knowing regular expressions oughta help overcome the funny hurdles i was giving myself!
Really clear, thank you so much! Always had some irrational fear to regex now I'm loving them, I'm gonna use them everywhere lmao! Exercise at 6:34 would be: re: (\(?)(\d{3})([-.)])\d{3}([-.])\d{4} replace: $1$2$3XXX$4XXXX
Hello thanks. by this point i am lost :) i was fiddling around in Notepad++ but had to get Atom for this and it did what i wanted . granted i did not write any fancy regex but i did write 2 by LOUDLY saying what i want and it worked :D wrote these 3 nuggets :) Step 1 )
Capturing groups are amazing, so I can go: /([01]?[0-9])\/([0-3][0-9])\/([12][0-9]{3})/ And replace with "$3-$1-$2" Convert American date format to ISO format The code is a bit lazily written, but will capture dates from 00/00/1000 to 19/39/2999. So it will capture some invalid dates, but not most of them.
You could split the string into an array, loop through the array to check if the phone number contains a -, ., or (. Then, adjust your replace() depending on what characters that element contains 🤷🏻♂️But please lmk how else you would do it strictly with regex.
videos are super awesome, but i am confused in condionals, if the preceding character is suppose 1, then the next character should be between 0-7 and if the preceding character is 2 then the next characters should be between 0-5. I mean matching in the phone numbers and region codes
can you plz explain how adding ? in regex: \[.*\] helped in solving the prob. i mean \[.*?\] is still finding any character with 0 or 1 occurance which includes ']' as well.
Hi Coding Train! Again a great video on Regex. I have found out that empty parentheses matches every character. What's the use of the empty parentheses?
7 years later and so helpful. Thank U! Life ur enthusiasm when u teach. Makes listening and learning so much better. Wish there was more teachers like u
Indeed, I was about to comment same things.
I feel like i got some kind of superpower now when i learned these regular expressions. Oh boy ladies are gonna be all over me when i show them my new editor skills.. :D
boy ladies ? how was Pataya :p ?
So your next level of your superpower is to write regular expressions for regular expressions search xD
I am sure you are willing to say "Oh Ladyboys" ?
You are a freakin' hero. I've been having such a difficult time with regex, but your videos simplified them and actually made them something I can appreciate. Thanks!!
you are literally one of the best teachers Ive ever seen. I consider myself a decent teacher, and I watch many others. but you have a natural ability to make things straight forward
I'm 5 years late for this video but the explanation is just WOOOOOW!! Awesome! I'm gonna keep this in my library.
This makes understanding capturing groups so intuitive. Thanks
Literally the best regex video I ever found! The instruction on coding platform is explained so badly but this one is amazing! The examples are so easy to be understood.
So glad to hear!
You have decoded the most cryptic part of JavaScript and freed me of my fear
of running into regex in the wild one day and not knowing how to handle them confidently.
Thank You
You are a great teacher. I didnt understand grouping that well. Now I kind of like regular expressions. I am having goosebumps
Never stop making regEx videos! I’ve learned more from you from three videos than I have from a 6 month bootcamp. Thank you, you are amazing and make learning freakin’ awesome. You might also be making rainbows safe for everyone again.
thank you, great explanation as always
and at 12:51 i think it's better to put "\" after ")" instead of deleting it
If you watch that part again you would realize that he deleted that backslash because of a misunderstanding.
What can you say for this guy?
Literally have been trying to make a reg expression for a string, blank space and comma and not only I did it NO "stackoverflow copy-pasting code" but, actually chilled back, watched a couple of vids and understood what I was doing.
Excellent series dude.
He made me feel the same way. Was able to solve a problem at free code camp in one line, when the advanced solution provided took 4. Made me feel real good lol
Ahh! I'm so glad you made a video on REGEX. Now I'm confident I will finally be able to wrap my head around this powerful language. Thank you Daniel, you're one hell of a great teacher :D
I just noticed this is part of a Series. Even better!
Thanks alot!! Was googeling around for at least half an hour, still being confused afterwards. This made me understand capturing groups in 6min. And you have a great enthusiastic vibe!
No other online resource is excited about regular expressions; this is what makes this video excellent
Regular expressions are my favorite!
This is the best regex series on youtube, love your energy also
Thank you so much. I didn't know how to use the replace function. Now I get it thanks to this tutorial. Very well explained. My thorough gratefulness.
This man's energy is just incredible, Oh my god I wish every teacher was like him, thank you man
I've never seen somebody so enthusiastic to lecture on capture groups
Can't thank you enough. This video right here just cleared all my confusion regarding backreference & sub_groups.
11:04 oh wow. This is what I was looking for the past hour. Making .* into non greedy. Thanks for these awesome videos. :)
Your energy is something else. Good stuff man!
how can u explain such a complex things so joyful ...amazing
Thank you so much for the videos about regex and your perfect explanations! I tried to understand regex by reading tutorials for so long, but obviously I am too stupid. Now, thanks to your videos, I basically understand this mysterious regex stuff, especially this greedy thing. Your videos are so great and also funny! Thank you!
Seriously the best videos on regex around.
Dash inside of character class can be first or last, just not between any two other characters. This comes in handy when you want to match a ] inside the class since that character MUST be first (or escaped) in order to be valid. In that case something like []().-] (match right bracket, open paren, close paren, dot and dash) is valid.
Thanks you. I've made due by googling every once in a while when I needed a regex, but it's good to have a clear and friendly break down with examples.
This is the first time I get here, but I have to say you're damn great! You made this part of regEx clear and simple. Thank you so much, mate. Regards from Spain!
You are a legend man. Great spirit waiving at us with positive energy and knowledge!!
man the power i just gained from learning this😂 I’m going to be unstoppable
Your teaching style is awesome
As always, I am amazed by your super enlightening tutorials, thank you for making these great tutorials for us!!
Very helpful, and like the way you explained it in atom editor which is most used editor
THIS IS AWESOME!!!! I've been searching and asking for a solution to my problem and this solved it
dude... these are better than thenewboston videos. SUPER helpful.
Thank you Daniel. You are my hero!
Soo good! You have passion and simplicity to transmit your ideas, and this is so great! thanks for sharing your knowledge!!
Thank you Sir for your Regex series. Well explained
Thank you!!!!! I had not understood this topic, but now I do and all thanks to you
You did it again. Man, I love your explanations. Awesome
I've learned a lot from you master. but this video is the most useful so far
If Tim and Eric did a coding tutorial series, the ending title would like this.
Can't thank you enough sir...for this piece of gold
The transition at 13:15 was hilarious. hahaha
I think of all the times he mentions editing the video, but doesn't. Then I see this. What the heck kinda goofy thing did he think was actually necessary to edit out? LOL
Yeah right :D
Thanks for breaking this down, this an excellent explanation.
You are chaotic Bob Ross of programming :)
Appreciate you! This made things much easier
all of the scenarios are worth going through!!!!!!!
Absolute help. Helped me through a new regex project
Don't know if Jenny appreciates having her number up there. ;-)
You explained it very well. Thanks dude
You are the best....I could give you a hug right now!!
Regex is like a black belt in martial arts figiting against dirty datasets.
Great class mate!
Great video. Clear elaination. Thanks
This is pretty cool, i was looking to make a chat app using canvas and a sprite font sheet,,, knowing regular expressions oughta help overcome the funny hurdles i was giving myself!
You're a great teacher! Congrats!
Brother, you are amazing. Thank you.
You are a legend. So helpful
Really clear, thank you so much! Always had some irrational fear to regex now I'm loving them, I'm gonna use them everywhere lmao!
Exercise at 6:34 would be:
re: (\(?)(\d{3})([-.)])\d{3}([-.])\d{4}
replace: $1$2$3XXX$4XXXX
Sir you are brilliant and I love your content!
This is quite helpful! Thanks.
Oh, I wish there was such a teacher in my university.. or at least I wish I found you a little earlier
I love ur teaching style... :D
Just another great video...
Awesome explaination
You are a freaking genius
Thanks pal. Greetings fro Ecuador.
Hello thanks. by this point i am lost :) i was fiddling around in Notepad++ but had to get Atom for this and it did what i wanted .
granted i did not write any fancy regex but i did write 2 by LOUDLY saying what i want and it worked :D
wrote these 3 nuggets :)
Step 1
)
terrific videos!
Great video! Keep it up!
Capturing groups are amazing, so I can go:
/([01]?[0-9])\/([0-3][0-9])\/([12][0-9]{3})/
And replace with "$3-$1-$2"
Convert American date format to ISO format
The code is a bit lazily written, but will capture dates from 00/00/1000 to 19/39/2999. So it will capture some invalid dates, but not most of them.
You are the best! Thanks!
thank you !!!! i needed this!!!!
You could split the string into an array, loop through the array to check if the phone number contains a -, ., or (. Then, adjust your replace() depending on what characters that element contains 🤷🏻♂️But please lmk how else you would do it strictly with regex.
awesome thank you for your wonderful explanation
really awsme man............really watched ur videos nd subscribed ................thnks for making this awsme series
WoW, You are awesome
Keep going on that way
You are a super great teacher!!!!
So helpful. Thank you for sharing!
awesome bhai
Why did the greedy .* stop at the end of the line on the [test]? Is this the default behaviour that the linebreak does stop greedy quantifier?
Thx for the help!
videos are super awesome, but i am confused in condionals, if the preceding character is suppose 1, then the next character should be between 0-7 and if the preceding character is 2 then the next characters should be between 0-5.
I mean matching in the phone numbers and region codes
Great video.. thank you
Finally I've understood! Thank you :3
Thanks!
can you plz explain how adding ? in regex: \[.*\] helped in solving the prob.
i mean \[.*?\] is still finding any character with 0 or 1 occurance which includes ']' as well.
the ? modifier makes the match lazy, meaning it will do the match in as few characters as possible.
Hi Coding Train! Again a great video on Regex. I have found out that empty parentheses matches every character. What's the use of the empty parentheses?
nice tutorials, thanks coding train
Amazing video.
Do you not need to escape the . like \. when you are trying to match and actual . and not using the any character wild card?
I love your lessons!!
Dear Coding Train, Please what is the name of the application you used in this video for the regex explanation
This helped me so much. Thank you!
so glad to hear!
Thanks for the excellent videos.
Does these Regex codes will be applicable for Mainframe applications ?
Hi
I am facing issue to achieve below requirement.
Between alphanumeric shouldn't allow to enter more than 3 spaces.
Thanks... This just my brain..
You are really great. Really. Thank you.
Awesome video!
good job