What Is Regex? A Practical Guide with Examples
Learn what regular expressions are, what they are used for, and how to read basic patterns with practical examples.
Read guide →Practical guides, testable examples, and exercises connected to the game. Start with the basics or jump into a real-world problem.
Learn what regular expressions are, what they are used for, and how to read basic patterns with practical examples.
Read guide →A beginner-friendly regex path covering literals, character classes, quantifiers, anchors, and practice.
Read guide →Practical JavaScript regex guide using literals, RegExp, test(), match(), replace(), and common flags.
Read guide →Practical Python regex guide using the re module, raw strings, groups, extraction, and replacement.
Read guide →Learn a practical email Regex, understand each part, and see why complete email validation is more complicated.
Read guide →Regex for the common Brazilian CPF format, plus the important difference between formatting and check-digit validation.
Read guide →Regex for the common Brazilian CNPJ format with an explanation of formatting versus check-digit validity.
Read guide →Learn phone Regex patterns, optional formatting, international caveats, and why requirements should come first.
Read guide →Learn a practical URL Regex for HTTP/HTTPS and understand protocols, domains, paths, and parsing limits.
Read guide →Learn a basic IPv4 Regex and why four numeric groups are not enough to guarantee a valid address.
Read guide →Regex examples for date formats, plus why matching DD/MM/YYYY does not guarantee a real calendar date.
Read guide →Practical Regex examples for digits, signed integers, decimals, and why numeric conversion still matters.
Read guide →Regex patterns for letters only, including accented characters and Unicode considerations.
Read guide →Use Regex to filter log levels and extract dates, IDs, and useful fields from application logs.
Read guide →Practical Regex examples for digits, words, email, phone, dates, URLs, files, and logs.
Read guide →Practice Regex with progressive exercises and learn to use false positives and false negatives as feedback.
Read guide →