Regular Expressions in Python
Treehouse
Course Summary
Regular expressions are one of the tools that every programmer needs, but is often scared of. In this course, we'll explore the re module that Python provides and learn to write regular expressions for many different situations.
-
+
Course Description
Regular expressions are one of the tools that every programmer needs, but is often scared of. In this course, we'll explore the re module that Python provides and learn to write regular expressions for many different situations.
Topics covered
- Introduction to Regular Expressions
Let's break down regular expressions and their methods so we can turn a block of messy text into useful dictionaries. We'll use .match(), .search(), and .findall() to find matches for our patterns, and we'll build our patterns up from something very precise to something more flexible and powerful. Finally, we'll turn our text into real Python dictionaries.
-
+
Course Syllabus
â— Introduction to Regular Expressionsâ—¦ Reading Filesâ—¦ Escape Hatchesâ—¦ Countsâ—¦ Setsâ—¦ Negationâ—¦ Groupsâ—¦ Compiling and Loops