Skip to content
Tool Dock

Regex Match

Find everything a regular expression matches in your text.

//g
Flags
  • Runs in your browser
  • Nothing is uploaded
  • Free, no sign-up

How to use it

  1. Type the pattern without the slashes, and tick the flags you need (g, i, m, s, u).
  2. Paste the text to search.
  3. Run it: matches are highlighted in the text and listed with their positions and capture groups.

Why Tool Dock

  • FastEverything runs on your own device, so there is no queue and no waiting for uploads.
  • PrivateYour files and text never leave the browser. Close the tab and they are gone.
  • Batch friendlyDrop several files at once and download each result, or all of them together.

Questions

Which regex flavour is this?

JavaScript (ECMAScript), as used in browsers, Node.js and most front-end tooling. Lookbehind, named groups and Unicode property escapes are supported.

Why does my pattern say it is invalid?

The message after the colon comes straight from the JavaScript engine. Common causes: an unescaped ( or [, a trailing backslash, or a quantifier with nothing before it.

Can a pattern hang the page?

Patterns with nested quantifiers can take very long on long text. The test runs in a background thread, so the page stays responsive and Cancel stops it.

All tools