Test a regular expression

Test a regular expression against sample text locally.

Your file stays on your device.This tool processes supported files locally in your browser.

How this tool works

Enter a pattern, flags and sample text and ToolRefinery lists every match and capture group, computed locally in your browser.

Input

Paste text directly into the tool. Maximum input length: 1953 KB.

Privacy

For this version, ToolRefinery processes the text you paste on your device. It is not sent to a ToolRefinery processing server.