Skip to content
FR – lire en français

Regex Tester

Try a regular expression and see every match live.

Loading the tool on your device…

Regex Tester runs a JavaScript regular expression on your text, highlights each match and lists its groups. A pattern that runs too long is stopped instead of freezing the page.

Updated 6 December 2026 · runs in your browser

How to use it

  1. Type a pattern.
  2. Pick options such as ignore case or multiline.
  3. Paste test text and read the matches.

Details

Regex Tester details
FlavourJavaScript (ECMAScript), as in browsers and Node.js
Optionsg, i, m, s, u
LimitsFirst 1,000 matches; stops after 1.5 seconds

Questions

Do my files leave my computer?
No. This tool runs inside your browser tab. The page makes no network request with your data, and you can check that yourself in your browser's developer tools.
Will my pattern work in Python or PHP?
Mostly. Simple patterns are the same everywhere, but lookbehind, named groups and Unicode classes differ between languages.