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

CodeSignal

Regex Foundations in Python: Matching Patterns

via CodeSignal

Overview

You'll start your journey into regular expressions by learning the core concepts. You will write patterns to find text, use special characters to define rules, and learn how to match specific parts of a string. This course builds the essential foundation for all your future text-processing tasks in Python.

Syllabus

  • Unit 1: Literals and Special Characters
    • Finding the Secret Agent Codename
    • Matching Multiple Log Entries
    • Match the Exact Filename
    • Matching Domain Names in Text
  • Unit 2: Repetition with Quantifiers
    • Extract Warehouse Product Codes
    • Finding Images with Different Extensions
    • Fixing the Tag Pattern Bug
    • Detecting Codes in Security Logs
  • Unit 3: Character Classes and Shorthands
    • Building Your First Character Class
    • Finding Years in Historical Records
    • Debugging the Hashtag Finder
    • Extracting Content from Brackets
    • Extracting Number Pairs from Data
  • Unit 4: Anchors and Grouping Patterns
    • Validating Social Media Handles
    • Validating Log Entry Status
    • Debug the Keyword Counter
    • Building a Strict Endpoint Validator

Reviews

Start your review of Regex Foundations in Python: Matching Patterns

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.