{ }Devtool

Regex Tester

Free online regex tester. Test JavaScript regular expressions against sample text with live highlighting, match list, capture groups, and flag toggles.

Pattern

//g

Test string

Highlight (2 matches)

Contact [email protected] or [email protected] for info.

Matches & groups

Cheat sheet

. any char\d digit\w word char\s whitespace* 0++ 1+? 0/1{2,4} repeat^…$ anchors(a|b) alt(?<n>…) named group\b boundary

How to use

  1. Paste input or drop a file above.
  2. Adjust options (delimiter, dialect, quality, ratio).
  3. Copy result or download — no sign-up needed.

FAQ

Which flavor is used?

JavaScript (ECMAScript) RegExp, the same engine as your browser console and Node.js.

Why no matches?

Check flags — without global (g) only the first match shows — and escape special chars like . + * ? with a backslash.

Related format tools