Online Regex Tester - Regular Expression Testing Tool

Professional online regular expression tester and debugger with real-time matching, syntax highlighting, and detailed explanations. Perfect for developers and text processing tasks.

Regular Expression Pattern

/ /
Enter your regular expression pattern without delimiters

Test Text

Paste your text here to test the regex pattern against it

Test Results

0 matches
No matches found yet. Enter a regex pattern and test text to see results.
Match # Full Match Groups Position
No matches to display

Enter a regex pattern to see its explanation here.

Quick Reference

Character Classes
. Any character
\d Digit (0-9)
\w Word character
\s Whitespace
[abc] Character set
[^abc] Negated set
Quantifiers
* 0 or more
+ 1 or more
? 0 or 1
{n} Exactly n
{n,} n or more
{n,m} n to m
Anchors
^ Start of string
$ End of string
\b Word boundary
\B Non-word boundary
Groups
(abc) Capturing group
(?:abc) Non-capturing
(?=abc) Positive lookahead
(?!abc) Negative lookahead