A curated collection of awesome Regex libraries, tools, frameworks and software. The goal is to build a categorized community-driven collection of very well-known resources.
Inspired by awesome-dotnet, awesome-ruby, awesome-awesomeness and the whole awesome-*
trend on GitHub. Thank you Reddit, HackerNews and StackOverflow for the help.
Sharing, suggestions and contributions are always welcome! Please take a look at the contribution guidelines and quality standard first. Thanks to all contributors, you're awesome and wouldn't be possible without you!
- Documentation
- Prototyping and Test
- Generator
- Learning
- Library
- Collections
- Explanation
- Exercise
- Articles
- Books
- Regular Expression Language - Quick Reference - MSDN documentation about Regex
- Regular Expressions - MDN chapter about JavaScript regular expressions
- Perl Regular Expression Syntax - Boost documentation
- Perl 6 - Regexes in Perl 6
- 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
- Debuggex - An online visual regex tester
- RegExr - A website for interactive regex prototyping with syntax highlighting (by @gskinner)
- Regex101 - An online regex tester, debugger with highlighting
- Rubular - A Ruby-based regular expression editor and tester
- Rex V - An AJAX Regular EXpression eValuator
- RegViz - A tool for debugging JavaScript regular expressions in a visual way
- Regulex - A JavaScript Regular Expression Visualizer
- PyRegex - An online regex tester to check validity of regexp in the Python language regex subset
- pythex - A quick way to test your Python regular expressions
- Regexper - A regex visualizer for JavaScript using railroad diagrams
- HiFi Regex Tester - Live JavaScript Regular Expression Tester
- Regex Hero - .NET online regex tester
- Regex Storm - A .NET regex tester with highlighting and detailed results output
- 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
- Txt2Re - Generate Regular expressions based on a string
- Regex Generator++ - An Automatic Generation of Text Extraction Patterns from Examples
- regexgen - Generates regular expressions that match a set of strings.
- 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.
- rgxg - Command line tool to generate regex
- Regex Guide - Plain Text to Regex Generator
- Wikipedia - Entry on regular expressions
- Learn Regex The Hard Way - An in-progress book that quickly teaches you regular expressions.
- Regular Expression Matching Can Be Simple And Fast - Basic concept of how RegEx parsing works
- [PDF] A Tao Of Regular Expressions - What are Regular Expressions
- Regular-Expressions.info - An informative website for learning regular expressions
- RexEgg - A regular expressions tutorial that goes deep into advanced features
- Try Regex - Try Regex is an interactive regular expressions tutorial
- Udemy - A Basic Introduction To Using Regular Expressions In Programming
- Codecademy - How to use of regular expression
- Regex golf - Regex golf with Peter Norvig
- Python Regular Expressions - A good introduction to Python Regular Expressions from Google
- /Reg(exp){2}lained/: Demystifying Regular Expressions - Fluent 2012 talk reviewing and visualizing basic and intermediate Regular Expressions.
- Regular Expressions - Everything you should know - PDF Series
- The Java Tutorials
- Regex Syntax Summary
- How Regexes work
- Learn Regular Expressions for Beginners
- Java Regex- Tutorial
- Javascript.info - Regular expressions - Regular expressions section in The Modern JavaScript Tutorial
- Useful Regexes
- Teach Yourself Regular Expressions
- Breaking the ice with Regular Expressions - CodeSchool course (first module is free).
- Tre - Free and portable approximate regex matching library
- Go-Restructure - Match regular expressions into struct fields in Go (by @alexflint) js C#
- js-regex - Chainable API for construting Regexes
- VerbalExpressions - VerbalExpressions is a cross-language library that helps to construct difficult regular expressions.
- XRegExp] - JavaScript regex library
- 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.
- Hyperscan - High-performance multiple regex matching library.
- Explain.pl - Explain Regular Expressions
- Redoku - Little Regex Sudoku/Crossword thing (by @padolsey)
- Regex Tuesday - Challenges - Challenge list about Regex
- Regex Crossword - A crossword puzzle game using regular expressions
- RegexOne - Learn regular expressions with simple, interactive examples
- Regexp Exercises - Regexp exercises
- Regular Expression Crossword Puzzle - A crossword puzzle with a neat web interface.
- 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
- The Greatest Regex Trick Ever - So you're doubtful at the mention of a "best regex trick"?
- 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
- RegExp 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
- Regex Humor - Regex jokes and cartoons
- The true power of regular expressions
- Patterns, Automata, and Regular Expressions - Al Aho and Jeff Ullman (1992) (chapter 10 of Foundations of Computer Science)
- Beginning Regular Expressions - Andrew Watt (2005)
- 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
- Regular Expressions Cheat Sheet
- Regex Cheat Sheet
- MIT Cheat Sheet
- Java Cheat Sheet
- JavaScript Cheat Sheet
Other amazingly awesome lists can be found in the awesome-awesomeness list, the awesome list or if you want more lists.