Regular Expressions in Python || Python Tutorial || Learn Python Programming

Veröffentlicht am: 22 Dezember 2022
auf dem Kanal: Socratica
119,608
4.2k

𝙎𝙩𝙖𝙮 𝙞𝙣 𝙩𝙝𝙚 𝙡𝙤𝙤𝙥 𝙄𝙉𝙁𝙄𝙉𝙄𝙏𝙀𝙇𝙔: https://snu.socratica.com/python
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:
Python: http://bit.ly/PythonSocratica
SQL: http://bit.ly/SQL_Socratica

Subscribe to Socratica + bell for notifications:
http://bit.ly/SocraticaSubscribe

⧓⧓⧓⧓⧓
We recommend:
How to Be a Great Student
ebook: https://amzn.to/2Lh3XSP
Paperback: https://amzn.to/3t5jeH3
Kindle Unlimited (read free): https://amzn.to/3atr8TJ

Python Cookbook, 3rd edition
https://amzn.to/3jprjX2

The Mythical Man Month - Essays on Software Engineering & Project Management
https://amzn.to/3hPn8Dd

⧓⧓⧓⧓⧓
Join this channel to get access to perks:
   / @socratica  

Support Socratica on Patreon:
  / socratica  

Python instructor: Ulka Simone Mohanty (@ulkam on Twitter)
Written & Produced by Michael Harrison
Edited by Megi Shuke and Michael Harrison

#Python #RegularExpressions #regex


Auf dieser Seite können Sie das Online-Video Regular Expressions in Python || Python Tutorial || Learn Python Programming mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Socratica 22 Dezember 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 119,608 Mal angesehen und es wurde von 4.2 tausend den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!