⚡ Presets
/ /

Matches

Capture Groups

Replace with →
📖 Cheat Sheet
.Any character except newline
\dDigit [0-9]
\wWord character [a-zA-Z0-9_]
\sWhitespace
\bWord boundary
^Start of string
$End of string
*0 or more
+1 or more
?0 or 1 (optional)
{n,m}Between n and m times
[abc]Character class
(abc)Capture group
(?:abc)Non-capture group
a|bAlternation (or)
(?=a)Positive lookahead
(?!a)Negative lookahead
(?<=a)Positive lookbehind
(?<!a)Negative lookbehind
\1Back reference
(?<name>)Named capture group

About RegexTester

What is RegexTester?

RegexTester lets you build, test, and debug regular expressions in real-time. See matches highlighted as you type your pattern. Includes a cheat sheet, pattern library, regex explanation, and match export features.

How to use RegexTester?

Enter your regex pattern and test string. Matches are highlighted instantly as you type. Use the flags toggles for case-insensitive, global, multiline, and dotAll matching. Switch tabs to see groups, replace results, pattern explanations, or browse the pattern library.

What features does RegexTester offer?

Real-time match highlighting with alternating colors, capture group analysis, replace mode with back-references, regex explanation/tokenizer, 25+ common pattern library, test history, match export (JSON/CSV/Text), URL sharing, and multilingual UI (English, Korean, Japanese, Chinese).

Why use RegexTester?

Regular expressions are powerful but notoriously tricky to get right. RegexTester gives you instant visual feedback so you can iterate quickly and confidently. The built-in explanation feature helps you learn as you go.

Is it free?

Yes! RegexTester is completely free with no signup required. Your data stays in your browser.

🔗 Related Tools