Preparing for system design interviews?  Try bugzed.com →

Exrex

JSON →
library 0.12.0 ·python
verified Jun 28, 2026

Exrex is a Python library and command-line tool for 'reverse regular expressions,' designed to generate strings that match a given regular expression. It's useful for tasks like testing, fuzzing, and creating sample data. The library supports common regex features and handles potentially infinite matching strings by limiting their maximum length. It is a pure Python library with no external dependencies and efficiently uses generators to manage memory. The current version is 0.12.0, with an infrequent release cadence.

total hits 12
actors 3 distinct systems
last hit 15d ago AhrefsBot
GPTBot
4
Script
1
Humans
3

top countries 🇺🇸 United States · 🇨🇦 Canada · EC · 🇸🇬 Singapore · VN