Data as of Jul 25, 2026 · Based on 2,718,867 AI responses across 9,511 prompts · See how Parse measures this
RegexGenerator is a Python library that generates a valid regular expression from one or more input strings to match those strings. It is published on PyPI as version 1.1.0 (October 21, 2021) under the MIT license and requires Python 3.7+; it is OS independent. It includes an example showing how to instantiate it with '123-555-7676' and call get_regex() to produce a pattern like \d{3}[-]\d{3}[-]\d{4}.
Parse Score