You can be!
Whether you need to extract data from log files, find and replace text using complex patterns, or build datasets from messy data sources, there's one tool that you need to know:
REGULAR EXPRESSIONS.
I know that regular expressions (also known as "regex") can be intimidating. It looks like a cryptic language composed of letters, numbers, dashes, dollar signs, backslashes, and other punctuation marks.
They are WAY too hard to learn... right?
You might as well just give up, and ask ChatGPT to write your regular expressions for you. (I mean, I'm SURE they will be correct.)
Or maybe... just maybe... there's a way to learn regular expressions that will actually make sense to you!
Imagine the benefits of being able to confidently write regular expressions:
You can build your own datasets from unstructured text sources like raw log files, HTML pages, PDF documents, OCR-generated text, and more.
You can clean and standardize your datasets faster.
You can find and replace text using sophisticated patterns.
You can extract more useful features for Machine Learning.
In short, you'll be a more versatile and valuable data scientist.
In this course, Become a Regex Superhero, we'll slowly build from the absolute basics of regular expressions all the way up to complex topics.
We'll take the time to practice everything we're learning, which will help to solidify each concept.
By the end of the course, you'll have gained a powerful skill that will significantly improve your ability to process and manipulate text data.
And the next time a (seemingly) impossible text processing problem arises, it will be YOUR turn to be the superhero!
This is the perfect course for you if:
You're new to regular expressions
You've written a few regular expressions, but you don't know if they're actually correct
You know the basics of regular expressions, but you want to get dramatically better
You have experience with regular expressions, but you want some extra practice
Why learn regular expressions?
Basic rules and principles
Metacharacters
Character classes
Alternatives
Anchors
Greedy and lazy quantifiers
Match groups
Multi-line matching
Option flags
Searching with re.search
Substitution with re.sub
Splitting with re.split
Searching for multiple matches with re.findall
Improving performance with re.compile
Writing readable regular expressions with re.VERBOSE
If all of this terminology is new to you, that's okay!
Thanks again for another great course! You managed to simplify complex concepts. I liked learning the big picture of regular expressions and then applying that to Python.
The exercises were great in bolstering my knowledge, and I enjoyed the walkthrough you did with the homework exercises.
- Rachel Zhande (Biochemist)
Yes! I offer Purchasing Power Parity discounts (also known as location-based discounts) for all of my paid courses. If you're located in one of the 160+ qualifying countries, you should automatically see a discount code at the top of this page.
I also offer student discounts and hardship-based discounts, regardless of where you live. Please email me at kevin@dataschool.io and I'd be happy to send you the appropriate discount code.
I stumbled upon one of Kevin’s pandas YouTube videos a couple of years ago and I was instantly hooked. The live coding and clear, concise explanations in the videos made learning pandas easy. I subscribed to the channel and never looked back.
When I received his email about an upcoming regex course, the timing could not have been better. I was wrestling with regular expressions sprinkled throughout the pandas ecosystem. I signed up for the course and was not disappointed!
Again, the videos delivered, I learned the basics and much more. I can now read the (sometimes cryptic looking) regular expressions and build my own. Thanks for putting this course together, can’t wait for your next course.
- Rick Wheeler (GIS Instructor)
76 minutes
73 minutes
Just completed the course. It was great: informative, well thought-out and practical. I'm sure I will be able to apply this in my work very soon.
- Bruno DiGiorgi (Project Manager)
Are you ready to extract useful data from log files, HTML pages, and OCR-generated text?
Are you ready to clean and standardize your data faster and more accurately, and build your own datasets from messy data sources?
Then you'll want to enroll in Become a Regex Superhero!
Sure, you could choose not to sign up. Maybe you'll make the time to learn it all on your own... but given the complexity of regular expressions, that can be challenging and time-consuming.
You could try to follow one of the many free resources out there, but honestly, I've never found one that teaches regular expressions in the same clear, thorough, and step-by-step manner as this course.
I know that in these uncertain times, it can be hard to invest in yourself.
But think about it: Your time is valuable, and if you learn just one technique that saves you time, then your investment will be worth it!
If you're ready to add regular expressions to your toolbox and become a more valuable Data Scientist, then click the button below to get instant access.
I'll see you in the course!
- Kevin
My name is Kevin, and I've taught Data Science in Python to over a million students.
My courses explain data science topics in a clear, thorough, and step-by-step manner.
I'd love to teach you, regardless of your educational background or professional experience.
Thanks for joining me! 🙌