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

Coddy

RegEx in Python

via Coddy

Overview

Unlock the power of regular expressions in Python with this concise and practical course. Learn to master text searching, pattern matching, and data extraction with real-world examples and hands-on challenges.

Prerequisites:

  • Good knowledge of Python

Syllabus

Introduction

re Library

  • findall
  • search
  • split
  • sub

Basic Pattern Syntax

  • Basic Metacharacters
  • Literals
  • Character Classes
  • Ranges
  • Common Predefined Classes
  • Advanced Predefined Classes

Anchors and Quantifiers

  • Anchors
  • Boundaries
  • Quantifiers
  • Repetitions

Grouping and Advanced Patterns

  • Grouping
  • Capturing
  • Pipe Operator
  • Alternation
  • Lookaheads
  • Lookbehinds

Advanced Techniques

  • Escape Metacharacters
  • Escape Sequences

Final Challenges

  • Extracting Hashtags
  • Finding Email Addresses
  • Valid Phone Numbers
  • Finding Dates
  • Capitalized Words

Reviews

Start your review of RegEx 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.