DevTidy › Text › Regex Tester

Regex Tester

Type a pattern and test text to see every match highlighted, with numbered and named capture groups. 🔒 Runs locally. Nothing uploaded.

Output
   

Add a replacement (use $1 or $<name>) to preview the result. Matching runs in a worker, so a runaway pattern cannot freeze the page.

Frequently asked questions

Is my data uploaded?

No. DevTidy runs entirely in your browser. Your input is processed on your device in a background Web Worker and never sent to a server, so it is safe for API keys, customer data and production configs.

Which regex flavour is this?

JavaScript (ECMAScript) regular expressions, the same engine used in Node.js and browsers. Flags g, i, m, s, u, y and d are supported.

Related tools

Text DiffURL Encode / DecodeJSON Formatter