awesome-regex
A curated collection of awesome Regex libraries, tools, frameworks and software
https://github.com/aloisdg/awesome-regex
Last synced: 5 days ago
JSON representation
-
Introduction
- awesome-dotnet - ruby](https://github.com/markets/awesome-ruby), [awesome-awesomeness](https://github.com/bayandin/awesome-awesomeness) and the whole `awesome-*` trend on GitHub. Thank you [Reddit](http://www.reddit.com/r/regex), [Hacker News](https://news.ycombinator.com/item?id=9581225) and [Stack Overflow](http://stackoverflow.com/tags/regex/info) for the help.
-
Prototyping and Testing
- Regex101 - Online Regex tester, debugger with highlighting.
- Debuggex - Online visual Regex tester.
- ExtendsClass - Online visual Regex tester.
- Nodexr - Online node-based Regex editor.
- Rex V - AJAX Regular EXpression eValuator.
- RegViz - Tool for debugging JavaScript regular expressions in a visual way.
- PyRegex - Online Regex tester to check validity of Regex in the Python language Regex subset.
- Regexper - Regex visualizer for JavaScript using railroad diagrams.
- HiFi Regex Tester - Live JavaScript Regular Expression Tester.
- Regex Hero - .NET online Regex tester.
- Regex Storm - .NET Regex tester with highlighting and detailed results output.
- RegEx to Strings - JavaScript library and online tool to generate strings that a regular expression would match.
- RegexPal - JavaScript + PCRE online tester.
- RegexTester - Regular Expression Tester with highlighting for Javascript and PCRE.
- Free Formatter - Free online Regex tester.
- Regex Tester - Golang - A secure regular expression tester. built using Go
- PHP Live Regex - PHP specific regular expression tester with live evaluation and code generation for all PHP's regex functions.
- RegViz - Tool for debugging JavaScript regular expressions in a visual way.
- PyRegex - Online Regex tester to check validity of Regex in the Python language Regex subset.
- Regex Storm - .NET Regex tester with highlighting and detailed results output.
- Regexr - Website for interactive Regex prototyping with syntax highlighting (by @gskinner).
- pythex - Quick way to test your Python regular expressions.
-
Documentation
- Regular Expressions - MDN chapter about JavaScript regular expressions.
- Perl Regular Expression Syntax - Boost documentation.
- PCRE - Concatenated PCRE man pages.
- ECMAScript 6 - New Regexes in ECMAScript 6.
- regex header in C++ - `<regex>` in C++
- class Pattern in Java - Java 7 docs.
- class Regex in Scala - Scala Regex.
- Python re module - Regular Expressions Python module tutorial.
- Regular Expressions in Perl - Introduction and Reference Links.
- Perl 6 - Regexes in Perl 6.
- Regular Expression Language - Quick Reference - MSDN documentation about Regex.
- Regular Expressions in Perl - Introduction and Reference Links.
-
Generators
- Txt2Re - Generate Regular expressions based on a string
- Regex Generator++ - Automatic Generation of Text Extraction Patterns from Examples
- rgxg - Command line tool to generate Regex
- Strings to RegEx - JavaScript library and online tool to generate a regular expression that matches strings.
- Regex Guide - Plain Text to Regex Generator.
- AutoRegex - English <-> Regex from an AI.
- regexgen - Generates regular expressions that match a set of strings.
- grex - A command-line tool and library for generating regular expressions from user-provided test cases.
- RegexGenerator - A tool for generating regular expressions for text extraction (by @MaLeLabTs)
- Gamon's numberic range generator - Regex Numeric Range Generator, when you need to match an integer range.
-
Libraries
- Tre - Free and portable approximate Regex matching library.
- VerbalExpressions - VerbalExpressions is a cross-language library that helps to construct difficult regular expressions.
- Super Expressive - Super Expressive is a JavaScript library that allows you to build regular expressions in natural language.
- 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.
- Go-Restructure - Match regular expressions into struct fields in Go (by @alexflint). [js](https://github.com/benjamingr/js-restructure) [C#](https://gist.github.com/benjamingr/4de21494b3e76088e5f7)
- js-regex - Chainable API for constructing Regexes.
- XRegExp - JavaScript Regex library.
-
Collections
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- Regexhub - Useful Regex Patterns.
- RGXP.RU - Regular Expression Patterns (+testing)
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
- RegexLib - Regular Expression Library (5000+ indexed expressions).
-
Explanation
- RegexTranslator - A web app to decode Regex into plain English. You can edit it and translate back.
- Explain.pl - Explain Regular Expressions.
- Explain.pl - Explain Regular Expressions.
-
Exercises
- HackerRank Regex Challenges - Regex challenges with varying levels of difficulty.
- Regex Exercises - Regexp exercises.
- Regular Expression Crossword Puzzle - A crossword puzzle with a neat web interface.
- Regex Tuesday - Challenges - Challenge list about Regex.
- Redoku - Little Regex Sudoku/Crossword thing (by @padolsey).
- Redoku - Little Regex Sudoku/Crossword thing (by @padolsey).
-
Articles
- 5 Techniques to Improve Regex Performance - Craft your own powerful, yet efficient regex.
- The Bad, the Better, and the Best - How a few characters can make a difference in performance.
- Treat regular expressions as code, not magic - If you don’t write them carefully, you can end up with an unmaintainable monstrosity.
- Demystifying The Regular Expression That Checks If A Number Is Prime - How a regular expression can check if a number is prime.
- Regex Tree: a regular expressions processor
- The thirty minute regex tutorial - Regular Expressions in 30 Minutes.
- Regular Expression Matching Can Be Simple And Fast
- Regular Expressions in a post ES6 World
- Regular expression (regex) performance: The fundamental guide
- The New ‘Absent Operator’ in Ruby’s Regular Expressions
- Optimizing regexes in Java
- Use Regex to Test Password Strength in JavaScript
- Java 101 - Regular Expressions in Java.
- Most Crazy Regexes - Stack Overflow
- The true power of regular expressions
- On code, early neural networks, and once discredited AI pioneers - A short history of regexes
- The Greatest Regex Trick Ever - So you're doubtful at the mention of a "best Regex trick"?
- Regex Humor - Regex jokes and cartoons.
- The thirty minute regex tutorial - Regular Expressions in 30 Minutes.
- Regex Tree: a regular expressions processor
- The thirty minute regex tutorial - Regular Expressions in 30 Minutes.
-
Books
- Patterns, Automata, and Regular Expressions - Al Aho and Jeff Ullman (1992) (*chapter 10 of [Foundations of Computer Science](http://infolab.stanford.edu/~ullman/focs.html)*)
- Mastering Regular Expressions - Jeffrey E.F. Friedl (2006)
- Regular Expression Pocket Reference - Tony Stubblebine (2007)
- Introducing Regular Expressions - Michael Fitzgerald (2012)
- Regular Expressions Cookbook - Jan Goyvaerts & Steven Levithan (2012)
- Mastering Python Regular Expressions - Felix Lopez & Victor Romero (2014)
- JavaScript Regular Expressions - Loiane Groner & Gabriel Manricks (2015)
- Regex - the complete tutorial
- Python re(gex)? - Sundeep Agarwal (2020)
- Patterns, Automata, and Regular Expressions - Al Aho and Jeff Ullman (1992) (*chapter 10 of [Foundations of Computer Science](http://infolab.stanford.edu/~ullman/focs.html)*)
- Mastering Regular Expressions - Jeffrey E.F. Friedl (2006)
- Regular Expression Pocket Reference - Tony Stubblebine (2007)
- Introducing Regular Expressions - Michael Fitzgerald (2012)
- Regular Expressions Cookbook - Jan Goyvaerts & Steven Levithan (2012)
- Mastering Python Regular Expressions - Felix Lopez & Victor Romero (2014)
- JavaScript Regular Expressions - Loiane Groner & Gabriel Manricks (2015)
-
Benchmarks
- Benchmark of Regex Libraries
- Java regular expression library benchmarks – 2015
- Performance comparison of regular expression engines
- Languages Regex Benchmark - It's just a simple Regex benchmark of different programming languages.
- Benchmark of Regex Libraries
- Regex Performance - Performance comparison of regular expression engines.
-
Cheat Sheets
-
Security
- SafeRegex - A command-line tool for testing regular expressions for [ReDoS](https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS) vulnerabilities.
Programming Languages
Categories
Sub Categories
Keywords
regex
3
awesome
2
awesome-list
2
python
2
regexp
2
regular-expression
2
regular-expressions
2
golang
1
languages
1
clr
1
csharp
1
dotnet
1
fsharp
1
lists
1
resources
1
unicorns
1
cli
1
command-line-tool
1
benchmark
1
python-library
1
bench
1
regex-pattern
1
learning-by-doing
1
exercises
1
ebook
1
rust
1
rust-cli
1
rust-crate
1
rust-library
1
terminal
1
tool
1