Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

edX

Introduction to Regular Expressions in Python

via edX

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates

This beginner path introduces regular expressions for Python-based text processing. You will learn how to define patterns with literals, special characters, character classes, and other core matching tools.

You will use capture groups to extract structured information, identify repeated patterns, and reformat text. You will also validate input, apply flags, use lookaheads to express conditional matching rules, and process large text files efficiently.

Finally, you will explore pattern performance, handle international text, and design maintainable regex code. The path concludes with a complete text data processing pipeline that integrates these skills.

Syllabus

  • Write regular expressions to find and match text patterns in Python
  • Extract structured information with capture groups
  • Transform, clean, and reformat text using pattern-based substitutions
  • Validate user input with anchors, flags, and conditional matching techniques
  • Process large text files with efficient regex patterns
  • Handle international text and organize regex code for maintainability
  • Build an end-to-end text data processing pipeline

Reviews

Start your review of Introduction to Regular Expressions in Python

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.