Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Codecademy

Learn the Basics of Regular Expressions

via Codecademy

Overview

Get a taste of regular expressions (regex), a powerful search pattern language to quickly find the text you're looking for.

### 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

Syllabus

  • Introduction to Regular Expressions: Get a taste of regular expressions (regex), a powerful search pattern language to quickly find the text you're looking for.
    • Lesson: Introduction to Regular Expressions
    • Quiz: Introduction to Regular Expressions

Reviews

4.7 rating at Codecademy based on 463 ratings

Start your review of Learn the Basics of Regular Expressions

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.