Regex Tutorial | Regular Expressions Explained

Поделиться
HTML-код
  • Опубликовано: 28 дек 2024

Комментарии • 34

  • @wozza2942
    @wozza2942 Год назад +3

    By FAR the best introductory tutorial to regular expressions that I've been able to find. Thanks a bunch, Dave.

  • @mattwaala
    @mattwaala Год назад

    The Great thing about your tutorials is that, you follow along the lines of documentations

  • @ogundekoadegbenga3766
    @ogundekoadegbenga3766 2 года назад +1

    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

  • @ahmad-murery
    @ahmad-murery 4 года назад +7

    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

  • @sweeball
    @sweeball 3 года назад

    Clear and concise short tutorial. Thanks Dave; just what was need for an intro to Regex.

  • @kostiantynkarzhanov9216
    @kostiantynkarzhanov9216 Год назад

    Hey Dave, I just wanted to say a big thank you! Your tutorial was awesome, as always!💛

  • @yatin1370
    @yatin1370 Год назад

    This was quite enlightening and fun to explore!

  • @Grihlo
    @Grihlo 2 года назад

    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 :)

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  2 года назад

      I'm glad this was good for you. Regular Expressions can be difficult!

  • @mostafahusany1747
    @mostafahusany1747 Год назад

    Thanks again and again for all your hard work

  • @vladislavamarkova8379
    @vladislavamarkova8379 3 года назад +1

    Great explanation of regex, very useful! And, nice choice of example string :) Neil Young`s Heart of Gold is an awesome song, thank you!

  • @sagars3332
    @sagars3332 3 года назад +1

    Cool man..it's impressive...
    Smart learning..

  • @samhatake
    @samhatake Год назад

    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

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  Год назад

      This question goes far beyond the beginner course. I'd ask Google or even ChatGPT to see what you get back. 😀

  • @saquibansari7866
    @saquibansari7866 Год назад

    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...

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  Год назад +1

      I have an Advanced JavaScript playlist on my channel: ruclips.net/p/PL0Zuz27SZ-6N3bG4YZhkrCL3ZmDcLTuGd

  • @80Vikram
    @80Vikram 2 года назад

    can you please share real world scenarios where regex needs to be used ?

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  2 года назад +1

      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.

    • @80Vikram
      @80Vikram 2 года назад

      @@DaveGrayTeachesCode Thanks again.

  • @mahioocode
    @mahioocode Год назад

    Overall ok. But Struggling to understand the backreferences concept used with groups. Any content/resource on that?

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  Год назад

      There is a references section with links in the video description. 😀

  • @sagars3332
    @sagars3332 3 года назад

    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

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  3 года назад +1

      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.

    • @sagars3332
      @sagars3332 3 года назад +1

      @@DaveGrayTeachesCode got it..thanks a ton buddy🙏

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  3 года назад

      @@sagars3332 You're welcome!

  • @cuneytdonmez214
    @cuneytdonmez214 2 года назад

    awesome