.*

Regex Tester

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

2 matches

Contact hello@toolstash.website or support@example.com today.

Related tools

What is the regex tester?

Test JavaScript regular expressions against sample text with live match highlighting, flags and capture groups.

How to use the Regex Tester

  1. Type your pattern and flags.
  2. Paste the text to search.
  3. See matches highlighted and capture groups listed.

Common uses

  • Validating emails and phone numbers
  • Extracting data from text
  • Debugging search-and-replace patterns

Frequently asked questions

Which regex flavor is used?

JavaScript (ECMAScript) regular expressions, as used in browsers and Node.js.

What do the flags mean?

g = all matches, i = ignore case, m = multiline, s = dot matches newlines, u = Unicode, y = sticky.

Is my text sent anywhere?

Everything runs locally in your browser β€” nothing is uploaded or stored.

Also known as: regular expression tester, regex online, javascript regex tester, regex checker, test regex, regex match highlighter.

More tools