Regular Expressions (Regexp)

3 students
Course updated 25 July 2023
<span class="translation_missing" title="translation missing:, course: Regular Expressions (Regexp)">Course Alt</span>
$49 per month
for all Hexlet's courses
Sign up
  • In-browser editor for exercises
  • Permanent access to theory
  • Asynchronous learning
Recommended program
Development of front-end components for web applications
10 months
from scratch
Start at any time
Layout with the latest CSS standards
5 months
from scratch
under development
Start at any time
Developing web applications with Django
10 months
from scratch
under development
Start at any time

Included in the course

11 lessons (video or text)
10 exercises in the IDE
24 quizzes
Assistance in Discussions on the website
Access to other courses of the our platform

What you'll learn

  • Handle strings efficiently in your language
  • Define complex expressions using character classes, ranges and conditions
  • Control the behavior of regular expressions with flags


Regular expressions (Regexp) are a powerful way to process strings, allowing you to find substrings (part of a string) in strings according to complex conditions. They are present in all high-level languages without exception and are often encountered in everyday work. However, you can only use the full power of regular expressions if you understand their language.

Course program

Estimated time: 14 hours