Text tools

Regex tester online — test and debug regular expressions

Enter a pattern and test text to highlight every match, list positions and capture groups (including named groups), toggle g, i, m, s and u flags, preview replacements, and load common patterns for emails, phone numbers, dates and URLs.

🔒 Files are processed in this browser and never sent to a server.

한국어

Loading tool…

How to use

  1. 1

    Type the pattern without slashes.

  2. 2

    Paste the test string.

  3. 3

    Check matches and groups; add a replacement if needed.

When to use it

Validation

Check phone patterns.

Logs

Extract fields with groups.

Find & replace

Preview replacements.

Good to know

  • Use $1 or $<name> in replacements.
  • Runaway patterns stop after 1.5 s.
  • Presets load common patterns.

FAQ

Which flavour?

JavaScript (ECMAScript).

Unicode?

Yes, with the u flag.

Saved?

No, nothing leaves the browser.

Related searches

  • #regextester
  • #regextesteronline
  • #regextesterjavascript
  • #regularexpressiontester
  • #regexchecker
  • #regexmatchonline