Command-line tool
grex
brew/grex
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Command-line tool for generating regular expressions
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
scoop install grex cargo install grex
macOS
brew install grex cargo install grex
Linux
brew install grex cargo install grex
Generate a simple `regex`
grex string1 string2 ...
Generate a case-insensitive `regex`
grex -i string1 string2 ...
Replace digits with `\d`
grex -d string1 string2 ...
Related command-line tools
- rgxg
C library and command-line tool to generate (extended) regular expressions - brename
Cross-platform command-line tool for safe batch renaming via regular expressions - rxrepl
A command line tool to search and replace text in text files using Perl compatible regular expressions (PCRE). - pomsky
Regular expression language - oniguruma
Regular expressions library - melody
Language that compiles to regular expressions - mcp-toolbox
MCP server for databases utility base64 text encoding codec md5 regular-expressions sha url java decoding - onigmo
Regular expressions library forked from Oniguruma
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents