Skip to content

Commit a36cfb0

Browse files
committed
added regex readme
1 parent 1052959 commit a36cfb0

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

days/28-30-regex/README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Regular Expressions
2+
3+
> Some people, when confronted with a problem, think, "I know, I'll use regular expressions." Now they have two problems. - Jamie Zawinski
4+
5+
## Day 1: Quick overview
6+
7+
This first day we will explore the basics of the `re` module (in Python's standard libary), so you can start adding this powerful skill to your Python toolkit.
8+
9+
## Day 2: Solidify what you've learned
10+
11+
I recommend reading [10 Tips to Get More out of Your Regexes](https://pybit.es/mastering-regex.html) and watch Al Sweigart's PyCon talk: [Yes, It's Time to Learn Regular Expressions](https://www.youtube.com/watch?v=abrcJ9MpF60).
12+
13+
If you still have time check out Kuchling's [Regular Expression HOWTO](https://docs.python.org/3.7/howto/regex.html#regex-howto).
14+
15+
The best way to learn though is to get practical: try to write some regexes interactively using an online tool like [regex101](https://regex101.com/#python).
16+
17+
## Day 3: Put your new skill to the test
18+
19+
Take [Bite 2. Regex Fun](https://codechalleng.es/bites/2/) on our platform. It let's you write 3 regexes.
20+
21+
Do you prefer to work on your desktop? Maybe you can try [blog challenge 42 - Mastering Regular Expressions](https://codechalleng.es/challenges/42/) which is similar but lets you solve 6 regex problems!
22+
23+
B. More fun: `wget` or `request.get` your favorite site and use regex on the output to parse out data (fun trivia: [a similar exercise](https://pybit.es/js_time_scraper_ch.html) is where our code challenges started).
24+
25+
Good luck and remember: _Keep calm and code in Python!_
26+
27+
## Time to share what you've accomplished!
28+
29+
Be sure to share your last couple of days work on Twitter or Facebook. Use the hashtag **#100DaysOfCode**.
30+
31+
Here are [some examples](https://twitter.com/search?q=%23100DaysOfCode) to inspire you. Consider including [@talkpython](https://twitter.com/talkpython) and [@pybites](https://twitter.com/pybites) in your tweets.
32+
33+
See a mistake in these instructions? Please [submit a new issue](https://github.com/talkpython/100daysofcode-with-python-course/issues) or fix it and [submit a PR](https://github.com/talkpython/100daysofcode-with-python-course/pulls).

0 commit comments

Comments
 (0)