Regex Tester - Live Regular Expression Tester

Write a regex pattern, enter test text, and instantly see all matches highlighted with capture group details.

정규표현식
테스트 문자열
매칭 하이라이트
매칭 결과가 여기에 표시됩니다...
매칭 상세
아직 매칭 결과가 없습니다.
🔮 Discover your K-pop destiny character 🎨 도툰 — 웹툰·일러스트 플랫폼

What Is a Regex Tester?

A regex tester lets you write regular expressions and instantly test them against sample text. This tool highlights every match in real time, shows capture groups, match indices, and supports all standard JavaScript regex flags (global, case-insensitive, multiline, dotAll). Errors are displayed immediately so you can fix syntax issues on the fly. Everything runs in your browser — no data is sent anywhere.

How to Use the Regex Tester

  1. Enter a Pattern — Type your regular expression in the pattern field (no delimiters needed)
  2. Set Flags — Toggle g (global), i (case-insensitive), m (multiline), s (dotAll) as needed
  3. Enter Test Text — Paste or type the text you want to match against
  4. View Results — Matches are highlighted instantly with count, index, and group details shown below

Why Use This Regex Tester?

  • Instant Feedback — Matches update on every keystroke with zero delay
  • Visual Highlighting — Matched portions are highlighted directly in the text
  • Group Capture — See every capture group value for each match
  • All Flags Supported — Toggle g, i, m, and s flags with checkboxes
  • Error Display — Invalid regex patterns show clear error messages
  • Privacy First — Runs entirely in your browser, no server processing

FreeToolbox vs Other Regex Testers

FeatureFreeToolboxRegex101RegExr
Browser-basedYesServer-sideYes
No account neededYesOptionalYes
Live highlightingYesYesYes
Group capture displayYesYesYes
Dark themeYesOptionalNo
No adsYesNoNo
LightweightYesHeavyMedium

FAQ

What regex flavor does this tool use?

This tool uses JavaScript's built-in RegExp engine. It supports all standard JavaScript regex syntax including character classes, quantifiers, lookahead, lookbehind, and named groups.

Do I need to add slashes around the pattern?

No. Just type the pattern directly. Flags are controlled by the checkboxes below the input field.

What does the 's' (dotAll) flag do?

The dotAll flag makes the dot (.) match any character including newline characters (\n, \r). Without it, the dot matches everything except newlines.

Can I test multiline patterns?

Yes. Enable the 'm' (multiline) flag to make ^ and $ match the start/end of each line instead of just the start/end of the entire string.

Is my test data stored or sent to a server?

No. Everything runs locally in your browser. Your regex pattern and test text never leave your device.