Regular Expressions - search, findall, match & groups (Python Beginner Lesson #26)

7views
00
12:06
T
Taught by Celeste AI - AI Coding Coach
View on YouTube
Description
Learn regular expressions in Python! ๐Ÿ” In this lesson, you will learn: โœ… The re module for pattern matching โœ… re.search() to find patterns anywhere in text โœ… re.match() to check the start of a string โœ… re.findall() to extract all matches โœ… Raw strings (r"...") to keep backslashes literal โœ… Metacharacters: \d, \w, \s, dot, caret, dollar โœ… Character classes [a-z] and negation [^0-9] โœ… Quantifiers: *, +, ?, {n}, {n,m} โœ… Capturing groups () and named groups โœ… re.sub() for substitution and re.compile() for reuse โœ… Mini Project: Text Processor (email validation, phone extraction, log parsing, text cleanup) ๐Ÿ• Timestamps: 0:00 - Introduction 0:22 - Regex Basics Explained 0:49 - Regex Basics Demo 3:32 - Patterns & Groups Explained 3:59 - Patterns & Groups Demo 6:59 - Text Processor Explained 7:26 - Text Processor Demo 10:35 - Recap 11:10 - End ๐Ÿ’ป Source Code: https://github.com/GoCelesteAI/python_regular_expressions ๐Ÿ”— Previous: Lesson 25 - Context Managers ๐Ÿ”— Next: Lesson 27 - Virtual Environments #Python #PythonTutorial #LearnPython #Programming #RegularExpressions #Regex #PatternMatching #PythonBasics
Back to tutorials

Duration

12:06

Published

February 10, 2026

Added to Codegiz

March 15, 2026

๐Ÿ“– Read the articleOpen in YouTube