Regex Tester
Write a regular expression and test text to see matches highlighted live, with capture groups and positions.
- Updated:
- Free, no sign-up
- Runs in your browser
How to use it
- Enter your data in the fields above.
- The result is calculated instantly as you type.
- Copy, download or share the result whenever you want.
Frequently asked questions
Which regex flavour is used?
JavaScript (ECMAScript), the same as in browsers and Node.js.
What do the flags mean?
g = all matches, i = case-insensitive, m = multiline ^ and $, s = dot matches newlines, u = Unicode.
Privacy first: this tool runs entirely in your browser. Nothing you type or upload is sent to our servers.