Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>rgx - Terminal Regex TesterNew to Visual Studio Code? Get it now.
rgx - Terminal Regex Tester

rgx - Terminal Regex Tester

brevity1s.wos

| (0) | Free
Launch the rgx regex debugger in the integrated terminal
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

rgx - Terminal Regex Tester

Launch the rgx regex debugger directly in the VS Code integrated terminal.

Requirements

rgx must be installed and available on your PATH.

Install via Cargo:

cargo install rgx-cli

Install via Homebrew:

brew install brevity1swos/tap/rgx

Commands

Command Description
rgx: Open Launch rgx in the integrated terminal
rgx: Open with Selection Launch rgx with the current selection passed as --text
rgx: Open with Pattern Launch rgx with the current selection as the initial pattern argument

Access commands via the Command Palette (Ctrl+Shift+P / Cmd+Shift+P) and search for rgx.

Settings

Setting Type Default Description
rgx.path string "rgx" Path to the rgx binary. Override if rgx is not on your PATH.
rgx.defaultEngine string (none) Default regex engine: rust, fancy, or pcre2.

Usage

  1. Open a file in VS Code.
  2. Optionally select text (a test string or a regex pattern).
  3. Open the Command Palette and run one of the rgx: commands.
  4. rgx launches in the integrated terminal with your selection pre-loaded.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft