Regex Tester
Tool
Pattern
/
/g
g
global
i
insensitive
m
multiline
s
dotall
u
unicode
Match
Replace
Test String
no pattern
Test String
Replace With
use $1, $2 for capture groups
Result
Matches
Quick Patterns
Regex Cheat Sheet