rgxg

command-line tool to generate regular expressions

Install

All systems
curl cmd.cat/rgxg.sh
Debian Debian
apt-get install rgxg
Ubuntu
apt-get install rgxg
image/svg+xml Kali Linux
apt-get install rgxg
Windows (WSL2)
sudo apt-get update sudo apt-get install rgxg
OS X
brew install rgxg
Raspbian
apt-get install rgxg

rgxg

command-line tool to generate regular expressions

rgxg (ReGular eXpression Generator) is a command-line tool to generate (extended) regular expressions. It can be useful to generate (extended) regular expressions to match for instance a specific number range (e.g. 0 to 31 or 00 to FF) or all addresses of a CIDR block (e.g. 192.168.0.0/24 or 2001:db8:aaaa::/64).