Regex: demystifying the hieroglyphics l SymfonyCon Brussels 2023
While regular expressions can certainly look like hieroglyphics, once you understand the basics, you can unlock massive amounts of power in your searches and work.
You're working with some data and find yourself needing to find a specific piece of information, but your searches keep matching things that you don’t want. While basic searches are fine for some things, every once in a while you need something more powerful.
Enter regular expressions (also referred to as "regex"). BUT WAIT! Before you scroll to the next session description: did you know that this powerful searching capability is available in things like Word and Excel, as well as Google Search Console and Google Analytics? And not only can you use it to search for information, you can also use it to transform information!
In this session, Marine Gandy jump into a brief history of regex, discuss pattern matching, and dive into the fundamentals of how we can use regex to surface the data we've been searching for in powerful ways
______________________________________
Enterprise Symfony for the future: Platform.sh is the official Symfony Cloud Platform.
______________________________________
Experiment easily. Iterate quickly. Deploy responsibly. Introducing the Upsun PaaS.
A bright, new offer powered by Platform.sh—adopted (and ❤️) by 16,000+ developers, 7,000 customers, and proven over the last 8 years—Upsun provides out-of-the-box capabilities that serve as the launchpad for creative development teams’ out-of-the-box thinking. A single, fully managed, self-service PaaS for development teams who just want to build their next, great application.
Links to check out:
👉 Get your free Upsun trial: https://brnw.ch/21wFxKr
👉 Learn more about Blackfire: https://brnw.ch/21wFxKp
👉 Get started with Platform.sh: https://brnw.ch/21wFxKj
Key moments:
0:00 - Intro / Regex: demystifying the hieroglyphics
4:15 - Introduction to Regular Expressions
6:03 - Regular Expression uses
6:30 - How to use Regular Expressions
8:58 - RegEx builders
9:21 - RegEx Special characters
11:13 - RegEx Character classes
12:34 - RegEx Negation
13:37 - Shorthand character classes
15:22 - RegEx Alternation
16:30 - RegEx Quantifiers
21:23 - RegEx Grouping
22:24 - RegEx Capturing
23:38 - Game time
25:18 - Resources and acknowledgements
26:00 - Questions