awesome-regex
github.com/aloisdg/awesome-regex ↗A curated collection of awesome Regex libraries, tools, frameworks and software
Use this list with your AI agent
Add the Context Awesome MCP server to Claude, Cursor, or any MCP client, then ask:
"Show me articles resources from awesome-regex"
Installation instructions →What's inside
Articles
- 5 Techniques to Improve Regex Performance
Craft your own powerful, yet efficient regex.
- Demystifying The Regular Expression That Checks If A Number Is Prime
How a regular expression can check if a number is prime.
- Java 101
Regular Expressions in Java.
- Most Crazy Regexes
Stack Overflow
- On code, early neural networks, and once discredited AI pioneers
A short history of regexes
- Optimizing regexes in Java
Generators
- AutoRegex
English <-> Regex from an AI.
- Gamon's numberic range generator
Regex Numeric Range Generator, when you need to match an integer range.
- grex
A command-line tool and library for generating regular expressions from user-provided test cases.
- regexgen
Generates regular expressions that match a set of strings.
- RegexGenerator
A tool for generating regular expressions for text extraction (by @MaLeLabTs)
- Regex Generator++
Automatic Generation of Text Extraction Patterns from Examples
Books
- Beginning Regular Expressions
Andrew Watt (2005)
- Introducing Regular Expressions
Michael Fitzgerald (2012)
- JavaScript Regular Expressions
Loiane Groner & Gabriel Manricks (2015)
- Mastering Python Regular Expressions
Felix Lopez & Victor Romero (2014)
- Mastering Regular Expressions
Jeffrey E.F. Friedl (2006)
- Patterns, Automata, and Regular Expressions
Al Aho and Jeff Ullman (1992) (
Benchmarks
- Benchmark of Regex Libraries
- Java regular expression library benchmarks – 2015
- Languages Regex Benchmark
It's just a simple Regex benchmark of different programming languages.
- Performance comparison of regular expression engines
- Regex Performance
Performance comparison of regular expression engines.
Documentation
- class Pattern in Java
Java 7 docs.
- class Regex in Scala
Scala Regex.
- ECMAScript 6
New Regexes in ECMAScript 6.
- PCRE
Concatenated PCRE man pages.
- Perl 6
Regexes in Perl 6.
- Perl Regular Expression Syntax
Boost documentation.
Prototyping and Testing
- Debuggex
Online visual Regex tester.
- ExtendsClass
Online visual Regex tester.
- Free Formatter
Free online Regex tester.
- HiFi Regex Tester
Live JavaScript Regular Expression Tester.
- Nodexr
Online node-based Regex editor.
- PHP Live Regex
PHP specific regular expression tester with live evaluation and code generation for all PHP's regex functions.
Explanation
- Explain.pl
Explain Regular Expressions.
- RegexTranslator
A web app to decode Regex into plain English. You can edit it and translate back.
Libraries
- Go-Restructure
Match regular expressions into struct fields in Go (by @alexflint).
- Hyperscan
High-performance multiple Regex matching library.
- js-regex
Chainable API for constructing Regexes.
- RE2
RE2 is a fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python. It is a C++ library.
- Super Expressive
Super Expressive is a JavaScript library that allows you to build regular expressions in natural language.
- Tre
Free and portable approximate Regex matching library.
Showing a sample of 102 resources. View the full list on GitHub →