filmov
tv
Regular Expressions in Python | Regex Pattern Examples | Metacharacters and Special Sequences
Показать описание
Master Python regular expressions in this part of our beginner-friendly Python Regex tutorial series! In this video, we'll dive into creating regex patterns using metacharacters and special sequences. I'll explain various use cases of regex patterns, such as matching strings, finding dates, and processing text through easy hands-on examples in Pycharm IDE.
Topics covered:
0:10 Basic Components of Python Regex
0:25 Regex metacharacters: ^, $, *, ., [], +, ?, |
1:10 Special Sequences: \b \w \d \s
1:47 Example 1- Using ^ to match the starting of a string
3:01 Python group() function
3:19 Example 2- Using $ to match the end of a string
3:59 Example 3- Finding all words ending with a regex pattern
4:59 Example 4- Finding all the words in a given string using split and findall method
6:58 Example 5- Search a string containing a Date in DD-MM-YYYY format using regex pattern
7:56 Example 6- Using quantifiers with digits in regex
9:01 Example 7- Using dot in a regex pattern
9:52 Practice Exercise
Don't forget to like, comment, and subscribe for more Python tutorials and coding tips!
#pythonforbeginners #regex #pythontutorial
Topics covered:
0:10 Basic Components of Python Regex
0:25 Regex metacharacters: ^, $, *, ., [], +, ?, |
1:10 Special Sequences: \b \w \d \s
1:47 Example 1- Using ^ to match the starting of a string
3:01 Python group() function
3:19 Example 2- Using $ to match the end of a string
3:59 Example 3- Finding all words ending with a regex pattern
4:59 Example 4- Finding all the words in a given string using split and findall method
6:58 Example 5- Search a string containing a Date in DD-MM-YYYY format using regex pattern
7:56 Example 6- Using quantifiers with digits in regex
9:01 Example 7- Using dot in a regex pattern
9:52 Practice Exercise
Don't forget to like, comment, and subscribe for more Python tutorials and coding tips!
#pythonforbeginners #regex #pythontutorial