#100DaysOfCode in Python Transcripts
Chapter: Days 28-30: Regular Expressions
Lecture: Third day: more regex exercises
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
Welcome back to 100 Days of Python. Wow, you're almost done. It's the third day of the regex 3 days block.
0:09
I hope you're enjoying this and getting a good grasp of writing regular expressions in Python. So in this third day, let's get you some more practice,
0:18
and I have some exercises lined up for you. First of all, we have, on our Code Challenges platform, Bite 2, Regex Fun, where you can solve this problem
0:29
of extracting course times out of a string, getting hashtags and links, and match the first paragraph. Then we have mastering regular expressions
0:42
also as a blog challenge. And if you like to work more in your own environment, I encourage you to do this one because you get
0:49
a branch on the code challenges repo and you can just work on your system. And finally, I mean, those exercise,
0:58
we think are good practice, but of course feel free to get your own data, and parse it, use regular expressions to clean the data, etc.
1:08
It's actually how we got started with code challenges. We came up with this exercise where we saw this JavaScript course and we saw all these timings,
1:18
but there was not a total so the first pilot code challenge was, go filter out these timestamps and calculate what the total course time is.
1:29
It's not necessarily curriculum stuff, but it gets you to practice. And with practice comes mastery. So use any data you want.
1:39
The goal is to use more regular expressions. And don't forget to share your work on Twitter. You can mention the handle @100DaysOfPython.
1:50
Good luck, have fun, and remember: Keep calm and code in Python.