Regex Basics | Match, Extract, and Clean Text

Поділитися
Вставка
  • Опубліковано 23 лип 2024
  • Regex Basics | Match, Extract, and Clean Text
    Regex is a tool to find different patterns in text, and it can speed up your workflow if you do any kind of data cleaning or data scraping. In this video, I explain a few essential regex concepts which should be enough for most scenarios.
    Timeline:
    0:00 Intro
    0:32 Character classes
    2:06 Groups
    4:06 Quantifiers
    6:08 Anchors
    7:32 Escape characters
    7:45 Further reading
    Links:
    regex101.com/
    www.smashingmagazine.com/2009...
    cheatography.com/davechild/ch...

КОМЕНТАРІ • 17

  • @dataslice
    @dataslice  3 роки тому +3

    Watch Part 2 (web scraping and data cleaning with Regex) here! ua-cam.com/video/8Mnb8oPBgIw/v-deo.html

  • @leshok
    @leshok 3 роки тому +7

    This is such an underrated channel. Awesome work!

  • @bingbong6474
    @bingbong6474 9 місяців тому

    This video has honestly been the Regular Expression video that I've been looking for. The explanations are so quick and straight to the point, yet still detailed in information. Definitely saved me and my assessment this time round haha.

  • @stan_albatross4885
    @stan_albatross4885 2 роки тому +1

    really useful video, helped me out a lot with zero experience with regex before. Thanks for making this, the internet smiles upon your kindness

  • @danielnolan8049
    @danielnolan8049 2 роки тому

    Man, explaining that parentheses store captured data in variables was the most helpful part for me. I don't seem to remember any of the other regex tutorials I've watched in the past explain this.

  • @johanhanekom3885
    @johanhanekom3885 3 роки тому +4

    Hey dataslice!
    I discovered one of your videos yesterday and I immediately fell in love with your clean, elegant, professional video style!
    Just wanna say, keep up the great work!
    Looking forward to your videos! 😁

    • @dataslice
      @dataslice  3 роки тому

      I really appreciate that -- thank you! :-)

  • @alvaroisea2259
    @alvaroisea2259 2 роки тому

    Very useful and clear explanation, thanks a lot!

  • @logmantarig
    @logmantarig 2 роки тому

    Bro you are the best , Thanks

  • @momonp14
    @momonp14 3 роки тому +1

    Keep it up, your videos are amazing

  • @faroukawad3595
    @faroukawad3595 11 місяців тому

    How can I out a large that I can't copy and paste it

  • @grainofsalt2113
    @grainofsalt2113 3 роки тому +2

    Can you do a tutorial on RShiny app?

    • @dataslice
      @dataslice  3 роки тому +1

      Yeah, I have a lot of topics I want to cover but RShiny is one of them!

  • @dmytrobondarenko7169
    @dmytrobondarenko7169 2 роки тому

    It would be cool if you could provide the sample text/numbers used in the tutorial in order to skip typing it out :)

  • @nikunj1697
    @nikunj1697 2 роки тому

    Dear sir I am from India I am learning regex101 I watched your complete tutorial and I have successfully understood most of the part of regex Currently I've a text string of vocabulary words which has almost all english vocabulary letters(400k+) from which I wish to extract letters starting with m and must include j I know how to begin by writing ^m but if I want j to be included in my result anywhere in string with m letter starting. I don't want to specify "j" exact position and I want 8+ letters and with ending \w$ Sir please tell me how do I tackle this situation I tried alot but couldn't succeed sir please tell me code for this I am sorry for my rip english I am not good at english but sir I hope you can help me hoping for a positive reply asap 🙏🙏🙏

    • @dataslice
      @dataslice  2 роки тому

      Maybe try ^m\w*j\w* for the first one
      \w{8,} for the second