grex

Simple command line tool to generate regular expressions.

TLDR

Generate a simple regular expression

$ grex [space_separated_strings]
copy

Generate a case-insensitive regex

$ grex -i [space_separated_strings]
copy

Replace digits with '\d'

$ grex -d [space_separated_strings]
copy

Replace unicode word character with '\w'

$ grex -w [space_separated_strings]
copy

Replace spaces with '\s'

$ grex -s [space_separated_strings]
copy

Add {min, max} quantifier representation for repeating sub-strings

$ grex -r [space_separated_strings]
copy

Copied to clipboard
free 100$ digital ocean credit