Why am I just seeing your channel? Came here through twitter. Damn! I was always scared of regex and now I feel a bit more confident. Codewars, I am coming for ya. Thanks a lot David
That was clear and straight forward - thank you so much! I'm still a bit anxious after the previous lesson which I didn't get completely and I thought that the next is going to be even more complicated but fortunately I was wrong :)
what is the time complexity of evaluation of regex dave ? If i were to do with only js code this will vary according to expression i want it could range from quadratic to even more depending upon what i am trying to get out from string
Hello Dave sir, first of thank you so much that im being confident in JS just because of you...❤❤❤ My question is, are these all for beginners?? How can get intermediate or advanced topic...??? Please do reply...
The most common application of regex is form validation. Does the password contain a number, a lowercase letter, an uppercase letter, and one special character? Also for phone numbers, email addresses, credit card numbers and more. Regex can be used to confirm each is a valid entry. You should see an example of this in the next lesson.
String version="Version 91.0.864.59: June 24"; Buddy how to fetch only 91.0.864.59 from above string using regex?? I have done it using this "\\d\\d\\.\\d\\.\\d+\\.\\d+" but I believe this is not good approach.Can you please help me out. Cheers
If there will always be 3 dots separating the numbers, you could use something like: (\d+).(\d+).(\d+).(\d+) ...however, you could be more specific with the digit count in each separated group if the pattern is always the same.
By FAR the best introductory tutorial to regular expressions that I've been able to find. Thanks a bunch, Dave.
You're very welcome!
The Great thing about your tutorials is that, you follow along the lines of documentations
Glad you like them!
Why am I just seeing your channel? Came here through twitter. Damn! I was always scared of regex and now I feel a bit more confident. Codewars, I am coming for ya. Thanks a lot David
You're welcome!
Very well explained,
It took me a lot of time to get the basics in the past because of the lacking of good practical examples like these.
Regards
Thank you!
Clear and concise short tutorial. Thanks Dave; just what was need for an intro to Regex.
Thanks!
Hey Dave, I just wanted to say a big thank you! Your tutorial was awesome, as always!💛
Glad to hear that!
This was quite enlightening and fun to explore!
That was clear and straight forward - thank you so much!
I'm still a bit anxious after the previous lesson which I didn't get completely and I thought that the next is going to be even more complicated but fortunately I was wrong :)
I'm glad this was good for you. Regular Expressions can be difficult!
Thanks again and again for all your hard work
Great explanation of regex, very useful! And, nice choice of example string :) Neil Young`s Heart of Gold is an awesome song, thank you!
You're welcome! 🙏
Cool man..it's impressive...
Smart learning..
Thank you! 🙏💯
what is the time complexity of evaluation of regex dave ? If i were to do with only js code this will vary according to expression i want it could range from quadratic to even more depending upon what i am trying to get out from string
This question goes far beyond the beginner course. I'd ask Google or even ChatGPT to see what you get back. 😀
Hello Dave sir, first of thank you so much that im being confident in JS just because of you...❤❤❤
My question is, are these all for beginners?? How can get intermediate or advanced topic...???
Please do reply...
I have an Advanced JavaScript playlist on my channel: ruclips.net/p/PL0Zuz27SZ-6N3bG4YZhkrCL3ZmDcLTuGd
can you please share real world scenarios where regex needs to be used ?
The most common application of regex is form validation. Does the password contain a number, a lowercase letter, an uppercase letter, and one special character? Also for phone numbers, email addresses, credit card numbers and more. Regex can be used to confirm each is a valid entry. You should see an example of this in the next lesson.
@@DaveGrayTeachesCode Thanks again.
Overall ok. But Struggling to understand the backreferences concept used with groups. Any content/resource on that?
There is a references section with links in the video description. 😀
String version="Version 91.0.864.59: June 24";
Buddy how to fetch only 91.0.864.59 from above string using regex??
I have done it using this "\\d\\d\\.\\d\\.\\d+\\.\\d+" but I believe this is not good approach.Can you please help me out.
Cheers
If there will always be 3 dots separating the numbers, you could use something like: (\d+).(\d+).(\d+).(\d+) ...however, you could be more specific with the digit count in each separated group if the pattern is always the same.
@@DaveGrayTeachesCode got it..thanks a ton buddy🙏
@@sagars3332 You're welcome!
awesome