
Explore what regular expressions are, a sequence of symbols that express text, and their use in searching, matching, and replacing across languages.
Master regex metacharacters, including backslash, dot, plus, braces, dollar sign, question mark, bar, exclamation, and equals; learn context-driven meanings and how single-line mode affects newline handling.
Master regular expressions from scratch using character sets and character classes, exploring opening and closing brackets, matching any one of several characters, and the role of wildcards in precise patterning.
Master character ranges in regular expressions by using hyphen notation inside a character class to match lowercase and uppercase letters, digits (0-9), and alphanumeric sets without spaces.
Master shorthand character sets in regular expressions by using backslash escapes for word, digit, and whitespace classes, exploring their behavior inside character classes and common pitfalls.
Learn how repetition metacharacters regulate preceding characters with zero or more, one or more, and zero or one, using bananas and character classes as examples.
Explore start and end anchors in regular expressions, using caret and dollar signs to mark string or line boundaries and reference positions rather than matching characters.
Master backreferences by using capturing groups to refer to matched data in a regex and reuse it in replacements, with syntax like \1 and $1 across engines.
Explore Unicode and multibyte characters, encoding, and hex code points, using escapes like \uXXXX in regular expressions. Learn properties and cross-language regex challenges, practicing emails and IP address patterns.
Write a regular expression to match urls, covering protocol, domain and subdomain, path segments, query parameters, and optional file endings, using character classes and repetition.
Learn to write a regular expression that matches email addresses, using anchors, a negated first-letter class, local and domain parts, and a domain extension pattern.
Develop a regex to match HTML tags, including opening and closing tags with attributes and self-closing variants, using backreferences, non-capturing groups, and flexible attribute handling.
Master Regular Expressions from Scratch is a hands-on course for all languages. Regular Expression content in this course is for most of the Regular Expression Engines. There are some differences in implementation of Regular Expressions in different languages. We will be using a JavaScript based Regular Expression Engine in this course but the core fundamentals and how regular expressions works remains the same everywhere.
Regular Expressions are also called regex , regexp pluralized as regexes. We will be using regex throughout the course instead of Regular Expressions because it is easy to pronounce.
Regular Expressions are all about text. All things such as email, news, text messages, code, contacts and articles all these things are text. Regular Expressions are a tool that allows us to work with text by defining text patterns.
This course also contains practice examples where we will be creating Regular Expressions step by step in order to get a better understanding of how to work with regular expressions.We will create Regular Expressions for
In this course we will start learning Regular Expressions from scratch. After learning some basics we will learn about more advanced operations in Regular Expressions. At the end of this course we will practice what we have learned by practicing Regular Expressions.
Let's get started.