FlowPocket
Tools › Data formatting › Regex Tester

🎯Regex Tester

Type a pattern and see exactly what it matches, highlighted live in your test text.

Your input is never sent to a server — everything runs in your browser

Pattern
/ /
Test text
Matches

How to use

  1. Type the pattern (without surrounding slashes).
  2. Paste your test text — matches are highlighted instantly.
  3. Toggle the g, i, m and s flags with the checkboxes.

Runs on the JavaScript regex engine

This tester uses your browser's own regex engine, so results match JavaScript exactly. The core syntax (\d, \w, quantifiers, groups) is shared with most languages, though details like lookbehind support vary. A classic gotcha: patterns embedded in program strings often need doubled backslashes (\\d) — here you type the raw pattern.

ExampleMeaning
^[\w.+-]+@[\w-]+\.[\w.]+$Basic email check
https?://[^\s]+Extract URLs
\b\d{4}-\d{2}-\d{2}\bISO dates (2026-07-17)

FAQ

Do I need to type the slashes around the pattern?
No — type only the pattern itself. Flags are set with the checkboxes.
Is my input sent anywhere?
No. Matching happens entirely inside your browser.

Related tools