Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Writing Regex for Humans - Regex With Empathy, Featuring Python and BeautifulSoup

Samuel Chan via YouTube

Overview

Learn how to write more empathetic and human-friendly regular expressions in this 38-minute tutorial video. Explore a web scraping scenario using Python and BeautifulSoup to extract user reviews and e-commerce ratings from an online store. Discover techniques for creating readable and maintainable regex patterns that your colleagues will appreciate. Dive into practical examples, including finding specific sections of HTML, and gain valuable tips for commenting and structuring your regex code. Whether you're a regex enthusiast or skeptic, acquire skills to make your regular expressions more accessible and understandable to fellow developers.

Syllabus

Skip to if you don't need the context and want to hop into the "write regex" part of the video.
You either love or hate regex
Regex to get shopper's reviews on ecommerce
Quick look at BeautifulSoup
What's the deal with regex anyway?
Doing our first regex find!
Regex Tip #1: interweave regex with comments! write regex for humans

Taught by

Samuel Chan

Reviews

Start your review of Writing Regex for Humans - Regex With Empathy, Featuring Python and BeautifulSoup

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.