Regex Tester

Runs locally in your browser
All tool data is processed locally in your browser. It is never uploaded to HahaKit servers.

Enter JavaScript Regular Expressions, Marks and Text to Match.

Result

  

Loading the tool…

How to use Regex Tester

How do I use it?

  1. Enter JavaScript Regular Expressions, Marks and Text to Match.
  2. Click to run to see matching, position and capture group; switch to replacement preview.
  3. Time-consuming expressions can be cancelled and then continue to be tested.

How it works and example

Use the browser CMAScript regular. Position is UTF-16 index from 0; g means global, i ignore case, m change behavior at the end of the line.

/(id)=(\d+)/g · id=12 id=34 → [id, 12], [id, 34]

Input limits

Related tools

Search tools