Course info
Mar 9, 2016
1h 33m

No matter whether you are a sys admin, develop in .NET, C, PHP, Javascript, Ruby, Python, or even HTML5, or earn your living querying databases, knowing how to read and write Regular Expressions is an essential skill for any IT professional. While a lot of people consider regexes to be black magic, used appropriately they're an awesome power-tool in your tool-belt. This course will take you from the basics of what regular expressions are and why they are useful, through the syntax of regular expressions, guide you past the common pitfalls and teach you how to optimize your regexes for effectiveness, performance, and maintainability.

About the author
About the author

Juliette is an independent business consultant with wicked IT skills. You might encounter her as a speaker at PHP or WordPress conferences. She is a Zend Certified Engineer (ZCE) and has been contributing to numerous open source projects since the beginning of this century.

Section Introduction Transcripts
Section Introduction Transcripts

Regular Expressions Fundamentals
Welcome to the Pluralsight Regular Expressions Fundamentals course. My name is Juliette Reinders Folmer, and I'm going to teach you the art and the magic of regular expressions. If you've never heard of regular expressions before, prepare to have your mind blown by the power regular expressions will give you. And if you have heard of them before, I promise you that this course will take away part of your pain and provide you with the knowledge to really master regular expressions fundamentals. Regular expressions, or regex as they're often referred to, are often perceived as voodoo, the black magic of computer science. There are those who will avoid them as the plague and those who will use them for everything. Both attitudes are unfortunate. Regular expressions are a useful tool to have in your toolbox if used correctly and appropriately, like with everything.

Syntax in Detail
Congratulations! You've survived your first regular expression. In this module of the Regular Expression Fundamentals course, we'll take a look in more detail at the basic syntaxes we used when we built that first regex and some of the idiocrasies you might run into when using them. But before we continue, let's take a small step back and have a look at the terminology. When we talk about regular expressions, we really only talk about the pattern itself. The pattern may need to be surrounded by delimiters, and how the pattern is interpreted can be influenced by modifiers or flags. In this module, we'll focus on the pattern syntaxes. Modifiers and delimiters will get their moment in the spotlight in the next. All examples used throughout this course will follow the order and color coding shown here, and changes or important bits in the regex will be highlighted.