Skip to content
78

Awesome Regex

๐Ÿฆ‰ A curated collection of regex tools, tutorials, libraries, etc.

398 stars20 forks90 entriesLast push Sep 2, 2026 (27 days ago)License Other

This page lists names, links and short descriptions. The original list on GitHub is the source and belongs to its authors.

Regex+

is a lightweight JavaScript library for more readable, high-performance, native JavaScript regexes with powerful features including free spacing, atomic groups, possessive quantifiers, subroutines, definition groups, and context-aware interpolation.

Testers

regex101

Best free and best web-based tester.; Flavors: Java, JavaScript, .NET, PCRE, RE2, Rust, and emulates Python.; Includes regex debugger (PCRE only).

In 6 listsDetails

RegexBuddy

(Windows, $40) - Best tester.; Flavors: Emulates hundreds of flavors/versions, with deep knowledge of differences.; Includes regex debugger.

RegexPilot

(macOS, $21) - Best Mac-native tester.; Flavors: JavaScript, Python (re, regex), Java, .NET, PCRE, Onigmo, RE2, Perl, Rust, ICU, Tcl, POSIX BRE/ERE.

Notable mentions

RegExr

[GitHub] - Best open source tester.; Flavors: JavaScript, PCRE.; Languages: ๐Ÿ‡บ๐Ÿ‡ธ, ๐Ÿ‡จ๐Ÿ‡ณ (fork).

In 4 listsDetails

RegexLearn

[GitHub] - Best multilingual tester (JavaScript).; Languages: ๐Ÿ‡บ๐Ÿ‡ธ, ๐Ÿ‡น๐Ÿ‡ท, ๐Ÿ‡ท๐Ÿ‡บ, ๐Ÿ‡ช๐Ÿ‡ธ, ๐Ÿ‡จ๐Ÿ‡ณ, ๐Ÿ‡ฉ๐Ÿ‡ช, ๐Ÿ‡บ๐Ÿ‡ฆ, ๐Ÿ‡ซ๐Ÿ‡ท, ๐Ÿ‡ต๐Ÿ‡ฑ, ๐Ÿ‡ฐ๐Ÿ‡ท, ๐Ÿ‡ง๐Ÿ‡ท, ๐Ÿ‡จ๐Ÿ‡ฟ, ๐Ÿ‡ฌ๐Ÿ‡ช.

regexplained

[GitHub] - Best tester for presentations (JavaScript).

pcre2test

Includes regex debugger. Flavor: PCRE.

rxrx

Includes regex debugger (video intro). Flavor: Perl.

CyrilEx

[GitHub] - Java, JavaScript, MySQL, PHP, Python, Ruby.

In 2 lists

Patterns

(macOS, $3) - Bash, Emacs, grep, Java, Oniguruma, PCRE, POSIX BRE, POSIX ERE, Ruby, sed.

In 2 lists

RegexPlanet

[GitHub] - Go, Java, JavaScript (Bun, Deno, Node.js), .NET, Perl, PHP, PostgreSQL, Python, Ruby, Rust, Swift, Tcl, XRegExp.

Syntax-free regex builders

ChatGPT

and other LLMs - Ex: "create a regex that matches X and explain it step by step".

In 9 listsDetails

RegexMagic

(Windows, $40) - Generate regexes using samples and rules.; Flavors: Emulates hundreds of flavors/versions.

Notable mentions

Regex Generator

[GitHub] - Generate simple regexes from a sample text.

Regex.ai

Mark samples in a text and use AI to generate potential regexes.

Visualizers

Regex Vis

[GitHub] - Create railroad diagrams, with visual editor. Flavor: JavaScript.; Languages: ๐Ÿ‡บ๐Ÿ‡ธ, ๐Ÿ‡จ๐Ÿ‡ณ.

In 2 lists

Regulex

[GitHub] - Create railroad diagrams. Flavor: JavaScript.

In 3 lists

Nodexr

[GitHub] - Graphical editor with visual hierarchy. Flavor: .NET.

In 2 lists

Notable mentions

Regex Nodes

[GitHub] - Graphical editor with visual hierarchy. Flavor: JavaScript.

In 2 lists

Debuggex

Create railroad diagrams. Flavors: JavaScript, PCRE, Python.

In 2 lists

Regexper

[GitLab] - Create railroad diagrams. Flavor: JavaScript.

In 2 lists

Grep-like tools >Command line

ripgrep

Better and faster grep. Recursively searches directories while respecting gitignore rules and skipping hidden/binary files.; Flavors: Rust (default), PCRE.

In 10 listsDetails

nomino

Rename files uses regexes.; Flavor: Rust.

In 5 listsDetails

Grep-like tools >GUI

Aba Search and Replace

(Windows, $30) - Displays matches as you type.

PowerGREP

(Windows, $159) - Can search through archives, binary files, PDFs, docs/sheets, emails, etc., via its GUI or the command line.; Flavors: Emulates hundreds of flavors/versions.

PowerRename

(Windows) - Rename files using regexes.

In 5 listsDetails

Tutorials >Traditional

Regular-Expressions.info

Covers numerous regex flavors.

In 2 lists

The Modern JavaScript Tutorial: Regular expressions

[GitHub] - Guide to using regexes in JavaScript.; Languages: ๐Ÿ‡บ๐Ÿ‡ธ, ๐Ÿ‡ช๐Ÿ‡ธ, ๐Ÿ‡ซ๐Ÿ‡ท, ๐Ÿ‡ฎ๐Ÿ‡น, ๐Ÿ‡ฏ๐Ÿ‡ต, ๐Ÿ‡ท๐Ÿ‡บ, ๐Ÿ‡บ๐Ÿ‡ฆ, ๐Ÿ‡จ๐Ÿ‡ณ (partial for others).

In 2 lists

Notable mentions

RexEgg

Detailed tutorial with advanced topics.

In 2 lists

learnbyexample

[GitHub] - Ebooks on regexes (JavaScript, Python, Ruby) and command line text processing.

Regular Expressions for Regular Folk

[GitHub] - Visual, example-based ebook for beginners.

Notable mentions >With interactive exercises

RegexLearn

[GitHub] - Interactive tutorial and practice problems.; Languages: ๐Ÿ‡บ๐Ÿ‡ธ, ๐Ÿ‡น๐Ÿ‡ท, ๐Ÿ‡ท๐Ÿ‡บ, ๐Ÿ‡ช๐Ÿ‡ธ, ๐Ÿ‡จ๐Ÿ‡ณ, ๐Ÿ‡ฉ๐Ÿ‡ช, ๐Ÿ‡บ๐Ÿ‡ฆ, ๐Ÿ‡ซ๐Ÿ‡ท, ๐Ÿ‡ต๐Ÿ‡ฑ, ๐Ÿ‡ฐ๐Ÿ‡ท, ๐Ÿ‡ง๐Ÿ‡ท, ๐Ÿ‡จ๐Ÿ‡ฟ, ๐Ÿ‡ฌ๐Ÿ‡ช.

In 5 listsDetails

RegexOne

Interactive tutorial and practice problems.

In 3 lists

Notable mentions >Videos

Demystifying Regular Expressions

Great presentation for beginners, by Lea Verou at HolyJS 2017 (1hr 12m).

Learn Regular Expressions In 20 Minutes

Live syntax walkthrough in a regex tester, by Kyle Cook.

Regex engines >Source code

Boost.Regex

C++ regex library.

Hyperscan

Intel's high-performance library, used for DPI.

In 3 lists

ICU

Unicode org's package with full Unicode support.

In 2 lists

Java: java.util.regex

JDK standard regexes.

In 2 lists

JavaScriptCore: RegExp

Regex engine used by Safari.

In 2 lists

V8: Irregexp

Regex engine used by Chrome, Edge, Firefox, etc.

In 4 lists

.NET: System.Text.RegularExpressions

Shared by all .NET languages (C#, VB, etc.).

In 2 lists

Onigmo

Forked from Oniguruma. Used by Ruby 2.0+.

In 3 lists

Oniguruma

C regex library used by Ruby 1.9, TextMate grammars, etc.

In 4 listsDetails

PCRE2

Popular C regex library used by PHP, R, etc.

In 2 lists

Perl

See perlreguts.

Python: re

and regex - Standard and extended regex libraries.

In 4 listsDetails

RE2

Popular C++ regex library used by Go, etc. Non-backtracking engine.

In 4 listsDetails

Rust: regex

Non-backtracking engine.

In 3 lists

Performance >Crafting efficient regexes

Runaway Regular Expressions: Catastrophic Backtracking

Exploration and solutions for superlinear backtracking.

Book: High Performance JavaScript

(2010) - Chapter 5: Strings and Regular Expressions.

Book: Mastering Regular Expressions, 3rd Edition

(2006) - Chapter 6: Crafting an Efficient Expression.

Performance of Greedy vs. Lazy Regex Quantifiers

Illustrates the mechanics of backtracking.

Notable mentions

Performance of Regular Expressions

On backtracking performance, with detailed examples.

Notable mentions >Regex engine optimization

Regular Expression Matching Can Be Simple And Fast

On non-backtracking engines. A follow up includes comparisons of RE2 and PCRE performance.

In 3 lists

Regular Expression Improvements in .NET 7

and .NET 5 - Includes detailed explanations of performance optimizations.

ripgrep is faster than {grep, โ€ฆ}

Includes details about what makes ripgrep and Rust's regex fast.

Notable mentions >Benchmarking

Boost.Regex: Performance

Compares Boost, C++ std::regex, and others.

Notable mentions >ReDoS checkers

regex.rip

Test a regex for ReDoS vulnerability.

recheck

[home] - JavaScript and Scala library for detecting ReDoS vulnerability. Can be used as an ESLint plugin.

vuln-regex-detector

Perl library for detecting ReDoS vulnerability.

Collections of patterns

Book: Regular Expressions Cookbook, 2nd Edition

(2012) - High-quality solutions with detailed explanations.; Flavors: Java, JavaScript, .NET, PCRE, Perl, Python, Ruby, XRegExp.

Regex DB

Solutions include basic descriptions and examples of matching and non-matching text.

JavaScript regex libraries >Alternative regex builders and engines

Regex+

is a lightweight JavaScript library for more readable, high-performance, native JavaScript regexes with powerful features including free spacing, atomic groups, possessive quantifiers, subroutines, definition groups, and context-aware interpolation.

Oniguruma-To-ES

Convert Oniguruma patterns to native JavaScript regexes.

JavaScript regex libraries >Abstracted regex syntax

Rexx

A template tag that uses structured syntax with variables and comments.

Melody

[docs] - A language that compiles to regexes.

In 3 lists

JavaScript regex libraries >Regex processors, utilities, and more

regexp-ast-analysis

[docs] - Analyze AST nodes produced by regexpp.

eslint-plugin-regexp

[home] - ESLint plugin for finding regex mistakes, etc.

In 2 lists

arkregex

RegExp-equivalent constructor with TS types.

super-regex

Add an execution timeout to regexes.

regex-utils

Check regex equivalence, build regex intersections, and other utilities.

regexgen

Generate a regex that matches a set of strings.

In 2 lists

Regex Colorizer

[home] - Highlight regex syntax.

regex-to-mermaid

Generate Mermaid diagrams to visualize regexes.

See also

Regexes Got Good: The History And Future Of Regular Expressions In JavaScript

Can I use

Up-to-date browser support tables for individual features.

In 9 listsDetails

Future: Active proposals

Extended mode and comments

(2021) - Flag x (extended) with insignificant whitespace and line comments (#โ€ฆ), plus inline comments via (?#โ€ฆ).

Atomic operators

(2021) - Atomic groups via (?>โ€ฆ) and possessive quantifiers (ex: *+, ++).

Buffer boundaries

(2021) - Anchors \A and \z, not affected by flag m.

\R escape

(2021) - Outside character classes, \R matches any line terminator.

Restrict subclassing support in built-ins

(2020) - Scaled back RegExp subclassing.

Legacy RegExp features

(2015) - Standardization of legacy features.

Books

Regular Expressions Cookbook, 2nd Edition

(2012) by Jan Goyvaerts and Steven Levithan - Regex tutorial with code samples for eight programming languages, 100+ regex recipes for practical problems, and a deep focus on cross-flavor differences.; Flavors: Java, JavaScript, .NET, PCRE, Perl, Python, Ruby, XRegExp.

Mastering Regular Expressions, 3rd Edition

(2006) by Jeffrey Friedl - A computer science classic, best for people who already know the basics. Includes good coverage of crafting efficient regexes.; Flavors: Dedicated chapters on Java, .NET, Perl, and PHP (PCRE), with more limited coverage of Python, Tcl, command line tools, etc.

Introducing Regular Expressions

(2012) by Michael Fitzgerald - An intro for programmers new to regular expressions that sticks to the basics.

Articles

The World's Shortest Regex Compiler?

and a follow up on optimization - Introduction to writing a non-backtracking regex engine (in JavaScript).

Regex Legends: The People Behind the Magic

Influential people behind the technology.

Communities

Reddit: r/regex

Questions and help on all topics concerning regular expressions.

In 2 lists

Stack Overflow: [regex]

See category
94

Awesome OpenClaw Skills

VoltAgent/awesome-openclaw-skills

The awesome collection of OpenClaw skills. 5,400+ skills filtered and categorized from the official OpenClaw Skills Registry.๐Ÿฆž

Freshโ˜… 53k830 entriesPushed today
92

Awesome DeepSeek Harness (DSH) Plugin

awesome-dsh-plugin/awesome-dsh-plugin

A curated list of plugins for DeepSeek Harness (dsh) ยท DeepSeek Harness ๆ’ไปถ็ฒพ้€‰ๅˆ—่กจ

Freshโ˜… 17k1654 entriesPushed today
91

Awesome Guidelines

Kristories/awesome-guidelines

Programming style, best practices, and coding conventions.

Freshโ˜… 11k166 entriesPushed 2 days ago
90

Awesome

sindresorhus/awesome

๐Ÿ˜Ž Awesome lists about all kinds of interesting topics [NOTE: Pull requests are temporarily disabled until I have a chance to catch up with the existing ones]

Freshโ˜… 513k51 entriesPushed 28 days ago
90

Awesome Prompts

ai-boost/awesome-prompts

Curated list of chatgpt prompts from the top-rated GPTs in the GPTs Store. Prompt Engineering, prompt attack & prompt protect. Advanced Prompt Engineering papers.

Freshโ˜… 9k288 entriesPushed today
90

Awesome README

matiassingers/awesome-readme

A curated list of awesome READMEs

Freshโ˜… 22k143 entriesPushed yesterday