DEVtoy
Language · English

RegExp Tester

Test JavaScript regular expressions with flags and inspect matches and capture groups. Long-running expressions time out.

How to use

  1. Paste your input or load the example below.
  2. Adjust the options, then select “Test expression”.
  3. Review the result, then copy or download it.

No uploads. No account. Processing stays in your browser.

Example input
a1 a22
a(\d+)

Related tools