Regex Tester
Test a JavaScript regular expression against text and inspect matches.
结果
#1: light, index: 0 #2: toolbox, index: 6 #3: 123, index: 14
Use Cases
- Validate email patterns
- Debug extraction rules
- Inspect global matches
How to Use
Use the workspace above to type, paste, choose, or drop content and get the result immediately. Files and text stay local in your browser by default.
FAQ
Which regex syntax is used?
Browser JavaScript RegExp syntax is used.
Are flags supported?
Yes. You can enter flags such as g, i, m, s, u, and y.