Your country

Tools that support it use your country for local currency, number formats, units and paper size. Your choice is saved only in this browser.

Type a name or a two-letter code. Use the up and down arrow keys to move through the countries, Enter to choose one and Escape to close.

Regular Expressions

Regular Expressions practice

32 exercises and 36 quizzes from the lessons of this track. Sample tests run in your browser; what you pass is kept in this browser only.

Foundations: what a regex is and how matching works

Characters, escapes and character classes

Anchors and boundaries

Quantifiers: greedy, lazy and possessive

Groups, alternation and backreferences

Lookaround and advanced constructs

Flags, modes and Unicode

Flavours compared and regex in each language

Regex in tools, spreadsheets, web standards and data cleaning

Validation patterns and their limits

Performance, ReDoS and security

Results here are what this browser has checked: feedback for you, not proof. They stay on this device; your Learn progress can be exported to a file. · Back to the Regular Expressions track

Quick answers and tool search

Type to search tools or to get a quick answer, for example 18% of 2500. Use the up and down arrow keys to move through the results, Enter to choose, and Escape to close.