Regex Tester

Test JavaScript regular expressions with live match highlighting, capture group tables, flags and a replace preview. Includes a quick reference.

Runs locally — nothing is uploaded
//

Matches

#MatchIndexGroups

How to use Regex Tester

  1. Enter a pattern and flags.
  2. Type test text — matches highlight live.
  3. Inspect groups or preview a replacement.

FAQ

Which regex flavour is used?

JavaScript (ECMAScript), including named groups and lookbehind in modern browsers.

Popular searches

People find Regex Tester by searching for:

  • regex tester
  • regular expression tester
  • javascript regex
  • regex match online
  • regex replace