CmdID

CmdID / Commands

grex

Generate regexs. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Generate a simple regex

grex string1 string2 ...Identify

Generate a case-insensitive regex

grex --ignore-case string1 string2 ...Identify

Replace digits with \d

grex --digits string1 string2 ...Identify

Replace Unicode word character with \w

grex --words string1 string2 ...Identify

Replace spaces with \s

grex --spaces string1 string2 ...Identify

Detect repeating patterns in the input and shorten them using {min,max} quantifiers

grex --repetitions string1 string2 ...Identify

Generate regex of test cases (separated by newline) from a file

grex --file path/to/fileIdentify

Do not generate anchors and non-capture groups

grex --no-anchors --capture-groups string1 string2 ...Identify