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

CodeSignal

Regex Validation, Flags, and Text Processing in Python

via CodeSignal

Overview

Move into advanced regex techniques for robust data processing. You'll write patterns to validate user input, control matching with flags for readability and power, and use lookaheads for complex conditional logic. Finally, you'll learn to process large text files efficiently, a key skill for real-world data.

Syllabus

  • Unit 1: Full String Input Validation
    • Debugging Username Validation Logic
    • Strengthening Password Validation Rules
    • Crafting a Pattern from Scratch
  • Unit 2: Controlling Regex with Flags
    • Debug the Word Search Function
    • Refactoring Regex for Readability
    • Capturing Every Chapter Title
    • Extracting Multi Line Code Blocks
  • Unit 3: Conditional Matching with Lookaheads
    • Matching Prices by Currency Type
    • Debugging Password Extraction Filters
    • Strengthening Password Validation Rules
    • Blocking Forbidden Usernames
    • Finding Keywords in Excited Sentences
  • Unit 4: Efficient Processing with Iterators
    • Build a Log Parser Pattern
    • Calculate Statistics from Log Entries
    • Analyzing Game Server Chat Logs
    • Calculate Revenue from Product Orders

Reviews

Start your review of Regex Validation, Flags, and Text Processing 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.