addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1linklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

DCPHP: Demystifying Regexes in PHP

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!

In this talk, taken from php[architect]'s Advanced PHP class, 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 the two cases people often use as examples for regexes that PHP gives you better native ways to accomplish.

Your organizer, Sandy Smith, will be giving the talk. I've been programming PHP for 13-14 years now, and first started web programming in Perl. So I had to get to know regular expressions. Once you get over the initial fear, they are super-useful and make life as a programmer much better.

Join or login to comment.

  • A former member
    A former member

    I had to duck out before the talk ended, but there were some links thrown around at the start about email lists and other resources outside of Meetup that you guys all use; are there any links someone could share here in the comments? Not sure I got all of it down in my notes.

    March 20, 2014

    • Sandy S.

      Hi Rich--
      The mailing list is big: go to the main DCPHP page on Meetup and click "About Us" to see details for it.

      Also,­ is super useful for regex-specific stuff. I'll also throw out my usual plugs for http://phptherightway...­ as a general resource and http://phpmentoring.o...­ as a great way to connect with both the community and to work on individual skills.

      March 20, 2014

  • Raphael

    When is the next meet?

    March 13, 2014

  • Sandy S.

    Admittedly, I'm biased. But a very sharp crowd who helped me improve my deck.

    March 13, 2014

  • Sandy S.

    Use the 3R button, not the 3.

    Also, our usual libations provider isn't here, so if you feel like picking up a six pack, feel free.

    March 12, 2014

  • Michael S.

    do you guys normally start right at 6:30...?

    March 12, 2014

    • Sandy S.

      We have mingling at first so you don't have to be on the dot. But we have a lot to cover and have to be out by 8:30 so I hope to not wait too long to begin. :-)

      1 · March 12, 2014

20 went

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy