Irreva logo
Explore Irreva

Test Regular Expressions Online

Regex is powerful but unforgiving. Testing patterns live — with immediate feedback on matches and captured groups — is far faster than the trial-and-error of running code each time.

Features you need in a regex tester

  • Live highlighting — see matches update as you type
  • Flag toggles — g (global), i (case-insensitive), m (multiline), s (dotAll)
  • Captured group display — see group 1, group 2 separately
  • Match position — character index of each match
  • Multiple test strings — paste real data to validate

Common patterns quick reference

  • Email: ^[\w.-]+@[\w.-]+\.[a-z]{2,}$
  • URL: https?:\/\/[\w.-]+
  • Phone (US): ^\+?1?[-.\s]?\(?[0-9]{3}\)?[-.\s]?[0-9]{3}[-.\s]?[0-9]{4}$
  • Digits only: ^\d+$
  • Alphanumeric: ^[a-zA-Z0-9]+$

Frequently Asked Questions

Which regex flavour does Irreva use?

JavaScript's built-in RegExp engine — the same as your browser and Node.js runtime.

Can I test multiline strings?

Yes — paste multiple lines into the test string field and use the m flag for multiline matching.

Related Tools & Guides