Regex Tester

Regular Expression
Enter your regex pattern and flags
//
g - Global (find all matches)
i - Case insensitive
m - Multiline
s - Dotall (. matches newline)
u - Unicode
y - Sticky
Test String
Enter text to test your regex against. The badge shows if the entire string matches the pattern.
0 characters
Replace
Test regex replacement functionality
Use $1, $2, etc. to reference capture groups