August 22, 2015

Don’t Fear the Regex 13:30 Don’t Fear the Regex Sampson

Don’t Fear the Regex

Have you been scared off by Klingon-looking one-liners in Perl? Do you resort to writing complicated recursive functions just to parse some HTML? Don’t!

I’ll demystify regular expressions and show you how best to do them in PHP. We’ll cover the syntax and functions that make PHP a great text-parsing language, and give you the foundation to learn more.

As a bonus, I’ll give you two cases people often use as examples for regexes that PHP gives you better native ways to accomplish.

Session Category :  Regular Talk Session  Sampson Room