LinuxCommandLibrary

trex

Terminal app for regex visualization and testing

TLDR

Launch the interactive regex playground
$ trex
copy
Load a file for regex testing
$ trex -f [file]
copy

SYNOPSIS

trex [options]

DESCRIPTION

trex is a terminal-based tool for writing, visualizing, and testing regular expressions. It displays a live regex playground where you input patterns and test strings side by side, with dynamic highlighting of matches and capture groups. It also includes a regex help menu and file loading support.

HISTORY

trex was created by Samyak Bardiya (samyakbardiya) and is written in Go.

SEE ALSO

grex(1), rexi(1), ripgrep(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard