grex

Generate regular expressions from example strings.

Give grex a set of strings to match and it produces a regular expression from those examples. The generator is available as a Rust library and command-line tool, with bindings for Python.