Back to Marketplace
Regex Tester

Regex Tester

v1.0.1

by Extensions Maker

Build and test regular expressions live — match highlighting, capture groups, replace preview and a syntax cheatsheet

ToolsUtilities

Regex Tester

Write a regular expression and watch it match, live, against your own text.

Features

  • Live highlighting — every match is marked in the test string as you type, alternating colours so adjacent matches stay readable.
  • All flagsg, i, m, s, u, y as tappable toggles.
  • Capture groups — numbered ($1) and named ($<name>) groups listed per match, including the ones that matched nothing.
  • Replace preview — type a replacement and see the whole string rewritten.
  • Presets — email, URL, IPv4, ISO date, hex colour, UUID, number, named groups.
  • Cheatsheet — the syntax you always half-remember, one tap away.
  • Invalid patterns show the real error message instead of failing silently.
  • Usage

  • Tools menu → Regex Tester
  • Drawer → Regex — bottom sheet, so you can keep your code visible
  • Command palette → Open Regex Tester
  • Notes

    Matching runs in the WebView, so a pathological pattern could hang it. Two guards keep that in check: at most 300 matches are collected per run, and the test string is capped at 40,000 characters.

    The regex engine is the browser's own, so anything JavaScript supports works here — and behaves identically in your code.