Back to Tools
Regex Tester
Test and debug regular expressions in real-time
Pattern
//g
Test String
Replace
Matches
Enter a pattern to find matches
Common Patterns
Quick Reference
. Any character^ Start of string$ End of string* 0 or more+ 1 or more? 0 or 1\d Digit\w Word char\s Whitespace[abc] Character set