A Crash-Course in Regular Expressions

Hi everyone. I originally released this screencast back when this blog only had about two hundred subscribers. Lately, many of our new readers have been asking me about using regular expressions. So, I decided to bump this one back to the top. I hope you enjoy it!

To a novice web developer, regular expressions look like the most scary thing on the planet. Who could possibly dismantle such a block of code and decipher its meaning? Luckily, its bark is much worse than its bite. You’ll quickly find that regular expressions are rather straight-forward and easy to understand – once you learn the syntax.

Click on the “Toggle” to view the video in full screen.

Additional Resources

  • Regular Expressions Cheat Sheets

    Regular Expressions Cheat Sheets

    Whether you’re searching strings or validating input fields, the use of regular expressions will save you a great deal of time. I found a great cheat sheet from AddedBytes.com that should save you a great deal of time. It’s a free PDF download, so get to it!

    Visit Article

  • Using Regular Expressions with PHP

    Using Regular Expressions with PHP

    This site specializes in all things related to “regular expressions”. It should be your first stop on your learning question.

    Visit Article

  • Using Regular Expressions with PHP

    PHP Regular Expression Tutorial

    Regular expressions are a powerful tool for examining and modifying text. Regular expressions themselves, with a general pattern notation almost like a mini programming language, allow you to describe and parse text. They enable you to search for patterns within a string, extracting matches flexibly and precisely.

    Visit Article

  • Using Regular Expressions with PHP

    Using Regular Expressions with PHP

    In this article I will show you how to use PHP regular expressions in your own PHP scripts.

    Visit Article


11

Comments