Regex Tester

Test and debug regular expressions with real-time results

Regular Expression

Enter your regex pattern and flags

g=global, i=ignoreCase, m=multiline, s=dotAll, u=unicode, y=sticky

Test String

Enter text to test against your regex

Results

0 matches found

Enter a pattern to start testing

Quick Reference

Character Classes:
. - Any character
\d - Digit
\w - Word character
\s - Whitespace
Quantifiers:
* - 0 or more
+ - 1 or more
? - 0 or 1
{n,m} - n to m times