Python Tutorial: re Module - How to Write and Match Regular Expressions (Regex) @coreyms
Python Tutorial: re Module - How to Write and Match Regular Expressions (Regex)  @coreyms
Uploaded October 2017 | Updated November 2026, 3 hours ago
In this Python Programming Tutorial, we will be learning how to read, write, and match regular expressions with the re module. Regular expressions are extremely useful for matching common patterns of text such as email addresses, phone numbers, URLs, etc. Learning how to do this within Python will allow us to quickly parse files and text for the information we need. Let's get started...

The code from this video can be found at:
github.com/CoreyMSchafer/code_snippets/tree/master/Python-Regular-Expressions

Python String Slicing Tutorial:
youtu.be/ajrtAuDg3yw

Python Files Tutorial:
youtu.be/Uh2ebFW8OYM


✅ Support My Channel Through Patreon:
patreon.com/coreyms

✅ Become a Channel Member:
youtube.com/channel/UCCezIgC97PvUuR4_gbFUs5g/join

✅ One-Time Contribution Through PayPal:
goo.gl/649HFY

✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

✅ Corey's Public Amazon Wishlist
http://a.co/inIyro1

✅ Equipment I Use and Books I Recommend:
amazon.com/shop/coreyschafer

▶️ You Can Find Me On:
My Website - coreyms.com
My Second Channel - youtube.com/c/coreymschafer
Facebook - facebook.com/CoreyMSchafer
Twitter - twitter.com/CoreyMSchafer
Instagram - instagram.com/coreymschafer

#Python
Python Tutorial: re Module - How to Write and Match Regular Expressions (Regex)Linux/Mac Terminal Tutorial: How To Use The find CommandPython Pandas Tutorial (Part 9): Cleaning Data - Casting Datatypes and Handling Missing ValuesPython Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv ModulePython Tutorial: Decorators With ArgumentsPython Tutorial: Generate Random Numbers and Data Using the random ModulePython Quick Tip: Secure Passwords and Sensitive Info with DotEnv #Shorts #Python #ProgrammingPython Flask Tutorial: How to Use a Custom Domain Name for Our ApplicationPython Pandas Tutorial (Part 4): Filtering - Using Conditionals to Filter Rows and ColumnsPython Pydantic Tutorial: Complete Data Validation Course (Used by FastAPI)Matplotlib Tutorial (Part 3): Pie ChartsPython FastAPI Tutorial (Part 11): Authorization - Protecting Routes and Verifying Current User
Corey Schafer |

Python Tutorial: re Module - How to Write and Match Regular Expressions (Regex)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER