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

YouTube

How I Learned to Stop Worrying and Love Regex

PHP UK Conference via YouTube

Overview

Coursera Spring Sale
40% Off Coursera Plus Annual!
Grab it
Explore the world of Regular Expressions in this 56-minute PHP UK Conference talk. Learn the basics and delve into the intricate details of this powerful tool for text manipulation and validation. Discover how to leverage regex in daily development tasks, from simple pattern matching to complex text processing. Gain insights into regex concepts, components, character classes, quantifiers, anchors, and advanced techniques like lookaheads and lookbehinds. Understand the importance of readability, engine properties, and practical applications such as code searching and file manipulation. By the end of this talk, develop a newfound appreciation for the versatility and power of regular expressions in PHP development.

Syllabus

Intro
History
Regex Concepts
Regex Components
Pattern Components
Character Classes
Character Class Shortcuts
Dot Metacharacter
Subpatterns and Alternations
Lazy Quantifiers
Possessive Quantifiers
Anchors for Validation
Back-references to Subpatterns
Lookahead & Lookbehind
Word boundary metacharacter
Conditionals
Pattern Delimiters
Modifiers
Readability
Engine Properties
PCRE JIT
Code Search
Stripping Remove a prefix if it's present
Stripping PHP files to bits
Splitting
grep
Does it match?
Limitations
Domain
Boundaries
Document

Taught by

PHP UK Conference

Reviews

Start your review of How I Learned to Stop Worrying and Love Regex

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.