Regex Tester
Test and debug regular expressions with live match highlighting.
Examples:
g
Click to toggle flags
0 / 50,000 chars
About Regex Tester
Regular expressions (regex) are patterns used to match character combinations in strings. Use this tool to test, debug, and understand regex patterns. Supports all standard JavaScript regex syntax including lookaheads, named groups, and character classes. The g flag is always active for matchAll; toggle others as needed.