Regex Tester

Test and debug regular expressions

Share this calculatorWhatsAppXFacebookLinkedIn

Formula Used

Runs your regular expression against the test string using the JavaScript RegExp engine and lists all matches.

Step-by-Step Explanation

  1. 1Enter your regular expression pattern and flags (e.g. g, i).
  2. 2Enter the text to test against — matches highlight instantly.

Worked Examples

Example 1

Match email addresses

Pattern: [a-z]+@[a-z]+\.[a-z]+

Finds hello@calcproo.com in the text

Frequently Asked Questions

Related Calculators