Learn RegEx step by step, from zero to advanced.
See the coderegexlearn.com is a free, open-source platform that turns regular expressions from a black art into a skill you can pick up in an afternoon. Learn step by step in 21 languages, keep the cheatsheet nearby, and test your patterns live in the playground.

![]() | ![]() | ![]() |
| Learn | Cheatsheet | Playground |
Available in 21 languages:
| ๐บ๐ธ English | ๐น๐ท Turkish | ๐ท๐บ Russian |
| ๐ช๐ธ Spanish | ๐จ๐ณ Chinese (Simplified) | ๐น๐ผ Chinese (Traditional) |
| ๐ฉ๐ช German | ๐บ๐ฆ Ukrainian | ๐ซ๐ท French |
| ๐ต๐ฑ Polish | ๐ฐ๐ท Korean | ๐ง๐ท Brazilian Portuguese |
| ๐จ๐ฟ Czech | ๐ฌ๐ช Georgian | ๐ฎ๐ท Persian |
| ๐ฎ๐น Italian | ๐ธ๐ฆ Arabic | ๐ง๐ฉ Bengali |
| ๐ฏ๐ต Japanese | ๐ฎ๐ฉ Indonesian | ๐ป๐ณ Vietnamese |
Speak a language that isn't listed? Adding it is a single pull request: copy the
en folder in src/localization/, translate the JSON
files, and you've brought regex to every developer who reads in your language. Prefer to start a
conversation first?
Open an issue.
src/localization/en and keep
exactly the same keys in every file.`[a-z]`, `OK`) is rendered as code;
don't translate it, and keep every pair of backticks.\n marks a line break inside a lesson text; keep it in the same place.Built with Next.js, React, TypeScript, and Tailwind CSS. The site is exported as static HTML.
Requires Node.js 20.9 or newer (the pinned version is in .node-version).
npm install # install dependencies
npm run dev # start the dev server at http://localhost:3003
npm run lint # lint the project
npm run build # static production build in out/
Local environment variables belong in .env or one of Next.js's .env.*.local files. These files
are ignored by Git and must not contain values intended for source control.
RegexLearn is shaped by its community: lessons, translations, and fixes in this repo came from contributors around the world. Spotted a typo, a bug, or an awkward translation? A small pull request is all it takes to improve the experience for thousands of learners.
main branch with your pull requests.main is production: every pull request merged into it is deployed to
regexlearn.com automatically, so please make sure npm run build
passes before opening one.RegexLearn is free for everyone, and sponsors are what keep it that way. Sponsorship puts your brand in front of a worldwide audience of developers at the exact moment they're learning. Want your logo up there? Get in touch.
This project is licensed under the MIT License. See the LICENCE file for details.
3,226 followers ยท starred Nov 2021
668 followers ยท starred Apr 2024
871 followers ยท starred Nov 2022
685 followers ยท starred May 2023
Learn RegEx step by step, from zero to advanced.
See the coderegexlearn.com is a free, open-source platform that turns regular expressions from a black art into a skill you can pick up in an afternoon. Learn step by step in 21 languages, keep the cheatsheet nearby, and test your patterns live in the playground.

![]() | ![]() | ![]() |
| Learn | Cheatsheet | Playground |
Available in 21 languages:
| ๐บ๐ธ English | ๐น๐ท Turkish | ๐ท๐บ Russian |
| ๐ช๐ธ Spanish | ๐จ๐ณ Chinese (Simplified) | ๐น๐ผ Chinese (Traditional) |
| ๐ฉ๐ช German | ๐บ๐ฆ Ukrainian | ๐ซ๐ท French |
| ๐ต๐ฑ Polish | ๐ฐ๐ท Korean | ๐ง๐ท Brazilian Portuguese |
| ๐จ๐ฟ Czech | ๐ฌ๐ช Georgian | ๐ฎ๐ท Persian |
| ๐ฎ๐น Italian | ๐ธ๐ฆ Arabic | ๐ง๐ฉ Bengali |
| ๐ฏ๐ต Japanese | ๐ฎ๐ฉ Indonesian | ๐ป๐ณ Vietnamese |
Speak a language that isn't listed? Adding it is a single pull request: copy the
en folder in src/localization/, translate the JSON
files, and you've brought regex to every developer who reads in your language. Prefer to start a
conversation first?
Open an issue.
src/localization/en and keep
exactly the same keys in every file.`[a-z]`, `OK`) is rendered as code;
don't translate it, and keep every pair of backticks.\n marks a line break inside a lesson text; keep it in the same place.Built with Next.js, React, TypeScript, and Tailwind CSS. The site is exported as static HTML.
Requires Node.js 20.9 or newer (the pinned version is in .node-version).
npm install # install dependencies
npm run dev # start the dev server at http://localhost:3003
npm run lint # lint the project
npm run build # static production build in out/
Local environment variables belong in .env or one of Next.js's .env.*.local files. These files
are ignored by Git and must not contain values intended for source control.
RegexLearn is shaped by its community: lessons, translations, and fixes in this repo came from contributors around the world. Spotted a typo, a bug, or an awkward translation? A small pull request is all it takes to improve the experience for thousands of learners.
main branch with your pull requests.main is production: every pull request merged into it is deployed to
regexlearn.com automatically, so please make sure npm run build
passes before opening one.RegexLearn is free for everyone, and sponsors are what keep it that way. Sponsorship puts your brand in front of a worldwide audience of developers at the exact moment they're learning. Want your logo up there? Get in touch.
This project is licensed under the MIT License. See the LICENCE file for details.
3,226 followers ยท starred Nov 2021
668 followers ยท starred Apr 2024
871 followers ยท starred Nov 2022
685 followers ยท starred May 2023