ConvertBox Logo
ConvertBox

Regex Tester β€” Test regular expressions live

Build and debug JavaScript regular expressions with live highlighting, capture groups, and replace preview.

//
Presets:

How to Use

  1. Type a regex pattern in the top field.
  2. Toggle flags or pick a preset.
  3. Paste your test text β€” matches are highlighted live.
  4. Use the replace field to preview substitutions.

All processing is done in your browser, and files are never sent to a server.

Frequently Asked Questions

JavaScript's native RegExp (ECMAScript). Differences from PCRE: no recursion, slightly different lookbehind support.
Yes, syntax like (?<name>...) works.
No. Everything runs in your browser.