Master Regex in Python: Full Guide for Beginners to Advanced (With Clear Examples)
Автор: Atef Codes
Загружено: 2025-12-03
Просмотров: 4
Learn regular expressions (regex) in Python from scratch with clear explanations and practical examples.
This video walks through everything: character classes, quantifiers, boundaries, grouping, email extraction, greedy vs lazy matching, lookahead/lookbehind, flags, and more.
Whether you're learning Python for automation, data cleaning, backend development, or text processing, understanding regex will save you hours of time.
What you’ll learn in this video:
Searching patterns in text
\d, \w, \s, . character classes
Quantifiers: +, *, ?, {n,m}
Matching words, numbers, and symbols
Using re.match, re.search, re.findall, re.sub
Word boundaries (\b)
Grouping and named groups
Extracting emails using regex
Greedy vs lazy matching
Lookahead and lookbehind
Using compiled regex for performance
Regex flags: IGNORECASE, MULTILINE, DOTALL, VERBOSE, and more
Timestamps:
00:00 – What is Regex?
00:23 – Character classes (\d, \w, etc.)
01:28 – Matching words & using findall
01:50 – Substituting words
02:00 – More character class examples
02:28 – Quantifiers explained
03:34 – Boundaries and anchors
04:30 – Matching at start/end of text
05:03 – Dot + literal matching
05:36 – Vowels in words
06:13 – Negation inside brackets
06:57 – Matching entire words
07:57 – Grouping and extracting data
08:30 – Extracting emails reliably
09:00 – Groups, dicts, and tuples
09:53 – Greedy vs lazy regex
10:26 – Regex compilation
10:39 – Split using multiple separators
10:57 – Remove duplicate spaces
11:26 – Regex flags
12:05 – Lookahead & lookbehind
12:29 – Repeated characters
12:42 – Negative lookahead
13:14 – Positive lookahead
13:41 – Negative lookbehind
14:02 – Combining boundaries & lookbehind
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: