Free Regex Tester

Test and debug regular expressions with real-time matching. Validate patterns, see matches, and learn regex syntax.

Advertisement Space

Regular Expression Pattern

Flags

Test String

Sample Patterns

Match Results

Enter a regex pattern to see results

Sample Test Strings

Regex Cheat Sheet

Character Classes

.Any character
\dDigit
\wWord character
\sWhitespace
[abc]Any of a, b, c

Quantifiers

*0 or more
+1 or more
?0 or 1
{n}Exactly n
{n,m}Between n and m

Anchors

^Start of string
$End of string
\bWord boundary
\BNot word boundary

Features

Real-time Testing

See matches instantly as you type

Error Detection

Get immediate feedback on invalid patterns

Sample Patterns

Common regex patterns to get started

Easy Copying

Copy patterns and results to clipboard

Cheat Sheet

Built-in regex reference guide

Flag Support

Test with different regex flags

Advertisement Space