Text & Data
Regex Tester
Test regular expressions with live match highlighting.
Pattern
Flags
/(\w+)/gTest String
Matches
Related Tools
Frequently Asked Questions
Which regex flavor does this tool use?
It uses JavaScript's built-in RegExp engine, which follows the ECMAScript standard. This is the same engine used in Node.js and all modern browsers.
How do I enable case-insensitive matching?
Add the i flag to your pattern. You can combine flags: gi for global case-insensitive, gim to also match across newlines. The flags input field accepts any combination of g, i, m, s, and u.
Does my text leave the browser?
No. All matching runs locally in your browser. Your pattern and test text are never sent to any server.