util2dev —

Regex Tester Online

Test JavaScript regular expressions with live match highlighting, capture groups, replace preview and a cheatsheet of ready patterns (email, URL, IP, date, UUID).

How to use

  1. Type the pattern and toggle flags (g, i, m, s, u).
  2. Paste the test text — matches are highlighted live.
  3. Use the table to inspect groups or try a replacement.

Frequently asked questions

Which regex flavor is used?

JavaScript (ECMAScript), the same as in browsers and Node.js.

Does it support named groups?

Yes, (?<name>…) groups appear in the matches table.

Can I use the patterns in Python or Java?

Most patterns work, but check lookbehind and flag differences.