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.
Overview
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