Learn the Basics of Regular Expressions


Why Learn Regular Expressions?

Regular expressions, or regex for short, are one of the most powerful and applicable techniques in programming. We can use regular expressions to search for and find patterns in strings. They can be used in nearly every language, and they allow us to validate user input, perform search tasks, and even test code. Learn the rules of regular expressions so that you can apply them in any language of your choosing.

Take-Away Skills:

Regular Expressions

Codecademy courses have been taken by employees at

Google LogoFacebook LogoNASA LogoIBM LogoDropbox Logo
  1. 1
    Get a taste of regular expressions (regex), a powerful search pattern language to quickly find the text you’re looking for.

How you'll master it

Stress-test your knowledge with quizzes that help commit syntax to memory

Pro Logo
Madelyn from Pinterest
I know from first-hand experience that you can go in knowing zero, nothing, and just get a grasp on everything as you go and start building right away.
— Madelyn, Pinterest