Novice to Advanced RegEx in Less-than 30 Minutes + Python

A full tutorial covering everything you need to know about Regular Expressions - an essential for anyone learning to code - and even more so for anyone interested in Natural Language Processing.
This video includes:
- metacharacters
- quantifiers
- capture groups
- using capture groups in Python
- character sets
- look-ahead and look-behind assertions
- negative look-ahead and look-behind assertions
- inline modifiers
- passing modifiers as function parameters in Python
- conditionals (if-else statements for RegEx)
- re.match
- re.search
- re.findall
We cover all of this in-depth in this tutorial, incl. examples all the way through on RegEx101 (an interactive debugging/regex building tool) and also in Python.
🤖 70% Discount on the NLP With Transformers in Python course:
bit.ly/3DFvvY5

Пікірлер: 28

  • @reidafesta9131
    @reidafesta913111 ай бұрын

    I watched about 4 videos about regex and this one covered everything plus extra syntax not covered in the other videos. I will argue that this is the best tutorial on regex on youtube. Thank you so much for sharing it

  • @mukilankrishnakumar5591
    @mukilankrishnakumar559111 ай бұрын

    Thanks a lot James. I really appreciate your effort in teaching RegEx. I have wanted to learn it properly for a long time and I finally got to it!

  • @techgalaxy100
    @techgalaxy1002 жыл бұрын

    Awesome video. Very helpful and informative. Thank you so much.

  • @SergioPolimante
    @SergioPolimante Жыл бұрын

    You did a really good job on this video. The progression on the step-by-step is very smooth, you are a good teacher, congratulations.

  • @jamesbriggs

    @jamesbriggs

    Жыл бұрын

    Thanks Sergio I appreciate it

  • @ComputerScienceSimplified
    @ComputerScienceSimplified3 жыл бұрын

    Awesome video, keep up the amazing work! :)

  • @pratikchopade1640
    @pratikchopade1640 Жыл бұрын

    this is what I was looking for. Thank you😇

  • @LaCarnevali
    @LaCarnevali3 жыл бұрын

    Thank you James! Very useful ;)

  • @catsmith32
    @catsmith3210 ай бұрын

    AWESOME GUIDE

  • @AliG.G
    @AliG.G Жыл бұрын

    Great video mate

  • @vishwakamps
    @vishwakamps3 жыл бұрын

    Thanks a lot mate

  • @troyke
    @troyke2 жыл бұрын

    I'm on 19:25 in the video and already I'm thinking this is one of the best regex tutorials I've seen! Simply awesome work!

  • @jamesbriggs

    @jamesbriggs

    2 жыл бұрын

    That's awesome, thanks!

  • @KamleshSharma-lr4uu
    @KamleshSharma-lr4uu Жыл бұрын

    Great explanation

  • @drago-ig6ms
    @drago-ig6ms Жыл бұрын

    Amazing!!!

  • @soniasa1555
    @soniasa15552 жыл бұрын

    very useful. I shared this video with my LinkedIn network and students as well.

  • @jamesbriggs

    @jamesbriggs

    2 жыл бұрын

    awesome, thankyou!

  • @zacyuan
    @zacyuan2 жыл бұрын

    can you elaborate a bit more on (:?) ? not quite follow ...thanks

  • @Miyazaki97
    @Miyazaki97 Жыл бұрын

    Thanks James for the wonderful tutorial. I am a beginner to text extraction and have a question. I am trying to extract text from PDF file i.e. report. I was able to extract the text but the output is weird. There are unnecessary space between the characters. For example 'Chang ing cult ivation t echniq uesConservation t illag e' which should have been "Changing cultivation techniques Conservation till age..." How can solve this problem? I would be grateful to your support.

  • @jamesbriggs

    @jamesbriggs

    Жыл бұрын

    I'm not sure, but chances are this is a defect with the PDF reader/converter. PDFs are honestly awful to process (accurately) with Python 😅 In the past I ended up using a tool called Abbyy OCR. Despite being 'OCR' it works really well for digital documents too (not just handwritten), there is a cost but worth it imo. Free alternative could by PyTesseract but it's not as accurate

  • @Miyazaki97

    @Miyazaki97

    Жыл бұрын

    @@jamesbriggs Thank you for your kind response. I will try to use PyTesseract

  • @philipedesouzasantos1201
    @philipedesouzasantos12012 жыл бұрын

    quite useful this video, I was looking for something like this: I have: apl_teste1 apl_teste2 apl_teste3 and i want to get all these words that starts with "apl_" and return it

  • @darkpaladin9982

    @darkpaladin9982

    2 жыл бұрын

    pattern = r'apl_\w*'

  • @lastchance1036

    @lastchance1036

    7 ай бұрын

    I think you could use a capturing group using "apl_(\w+)" Or a look behind method of "(?

  • @iftikhar3609
    @iftikhar3609 Жыл бұрын

    Thank so much love from pakistan

  • @jamesbriggs

    @jamesbriggs

    Жыл бұрын

    you're welcome thanks for watching!

  • @gordofat2911
    @gordofat29114 ай бұрын

    U can't believe this only has 367 "thumbs up"