LernerPython

Intro to regular expressions

You’ve probably heard about regular expressions. And you’ve probably heard that they’re too hard to learn or use. In this class, you’ll discover that they aren’t that hard — and boy, are they useful!

What you should know

Course Content

Course length

3.5 hours

Number of lessons

1

Training materials

1 Jupyter notebook

Coding exercises

5

LEARN MORE

Do you work with text on a regular basis? Then you’ve probably thought about learning regular expressions.

But:

  • You’ve heard that they’re impossible to learn
  • You’ve seen what they look like, and … yeah, they indeed look impossible to learn!
  • Lots of people get around using them

It’s true, regular expressions look scary. But once you understand what’s happening, you’ll see that they are fairly straightforward. And once you know them, you’ll see oodles of opportunities to use them in your day-to-day work. 

In this four-hour live course, I’ll introduce you to regular expressions in Python.

The class includes tons of hands-on exercises using real-world data sets. There will be lots of time for questions, as well. 

By the end of this class, you’ll have a solid footing in the world of regular expressions, and will be able to use them to search through text.

This class assumes an understanding of basic Python syntax, such as conditions (if/else), text strings, for loops, and reading through text files.

Join me, and discover a new coding superpower! 

  • The “re” module in Python’s standard library, and its main functions — re.match, re.search, and re.findall
  • Metacharacters
  • Repetition
  • Character classes
  • Anchors

This course, like all others on LernerPython.com, is taught by Reuven Lerner.