Developer

Regular Expression Tester

Explore JavaScript regular expressions against sample text and inspect matches and capture groups with a bounded execution time.

Local processing. Your data stays in this browser.

0 matches
Highlighted text
Contact hello@naminc.tech or visit naminc.tech.
Matches and groups

Run the pattern to inspect matches.

How to use it

  • Enter a JavaScript regex pattern and flags.
  • Paste the text you want to inspect.
  • Review highlighted matches and capture groups.

Example

Input
Pattern: \b\w+@\w+\.\w+\b
Output
Matches email-like values in the test text.

Common questions

Which regex flavor does this use?
It uses the JavaScript RegExp syntax supported by your browser.
Can a regular expression freeze a page?
Some patterns cause catastrophic backtracking. This tester runs matching in a worker with a short timeout to reduce that risk.