Regular expression tester
Test a JavaScript regex on your text with live highlighting, groups and replacement.
This tool is temporarily unavailable.
How it works
- 1
Type a pattern
Write a JavaScript regular expression and choose the flags.
- 2
Paste test text
Matches are highlighted instantly.
- 3
Check groups and replace
See captured groups and try a replacement.
Questions and answers
Which regex flavour is it?
JavaScript (ECMAScript), the same as in browsers and Node.js.
What if my pattern hangs?
Matching runs in a separate thread and is stopped after 1.5 seconds.
Is my text uploaded?
No.
Can I use Unicode classes?
Yes, turn on the u flag and use \p{L} and similar.