filmov
tv
Regular Expressions in Python || Python Tutorial || Learn Python Programming
Показать описание
Regular Expressions (regex for short) is a way to search for patterns in strings. Python provides the re module to assist you in your efforts to search through strings. Maybe you want to find names in a database that satisfy certain conditions. But before you charge right in and start throwing regular expressions around, you need to learn the correct syntax.
In this video, you’ll learn how to compose regular expressions using such cryptic symbols as the caret (^), dollar sign ($), various backslashes (\d, \s, \w), and more. And just wait ‘til you see what happens when you start combining them into a powerful combo search expression.
We also introduce such concepts as quantifiers so you can see how many times you get a match. Match, that’s another handy function, along with fullmatch. You’ll learn how useful it can be to create groups to name certain parts of a regex. We could go on, but it makes more sense for you to watch the video and take notes. Then share it with a friend and have them take notes. Then you can compare your notes and see if you are in agreement.
We were able to bring you this video thanks to our generous Kickstarter backers! Find their names hidden (okay, not very hidden) in the video!
Find our programming playlists here:
Subscribe to Socratica + bell for notifications:
⧓⧓⧓⧓⧓
We recommend:
How to Be a Great Student
Python Cookbook, 3rd edition
The Mythical Man Month - Essays on Software Engineering & Project Management
⧓⧓⧓⧓⧓
Join this channel to get access to perks:
Support Socratica on Patreon:
Written & Produced by Michael Harrison
Edited by Megi Shuke and Michael Harrison
#Python #RegularExpressions #regex
In this video, you’ll learn how to compose regular expressions using such cryptic symbols as the caret (^), dollar sign ($), various backslashes (\d, \s, \w), and more. And just wait ‘til you see what happens when you start combining them into a powerful combo search expression.
We also introduce such concepts as quantifiers so you can see how many times you get a match. Match, that’s another handy function, along with fullmatch. You’ll learn how useful it can be to create groups to name certain parts of a regex. We could go on, but it makes more sense for you to watch the video and take notes. Then share it with a friend and have them take notes. Then you can compare your notes and see if you are in agreement.
We were able to bring you this video thanks to our generous Kickstarter backers! Find their names hidden (okay, not very hidden) in the video!
Find our programming playlists here:
Subscribe to Socratica + bell for notifications:
⧓⧓⧓⧓⧓
We recommend:
How to Be a Great Student
Python Cookbook, 3rd edition
The Mythical Man Month - Essays on Software Engineering & Project Management
⧓⧓⧓⧓⧓
Join this channel to get access to perks:
Support Socratica on Patreon:
Written & Produced by Michael Harrison
Edited by Megi Shuke and Michael Harrison
#Python #RegularExpressions #regex
Комментарии