Forge / Regex Tester

Regex Tester & Debugger

Write a regular expression and see live match highlighting, capture groups, plus replace and split modes. Powered by your browser's native JavaScript engine.

Pattern

/
Flags
Mode

Test string

0 chars

Result

Common patterns

Click to load

Frequently asked questions

Which regex flavor is this?

Your browser's ECMAScript engine — the same used by Node.js and modern browsers. Lookbehind, named groups ((?<name>…)), and Unicode property escapes are supported in current engines.

How are capture groups shown?

In Match mode every match lists its numbered and named groups with the captured text and position, so you can verify exactly what each part matched.

Is my text uploaded?

No. Evaluation is entirely local. No pattern or test string leaves your device.

Related tools