Developer Tools
Regex Tester
Test JavaScript regular expressions against sample text directly in your browser.
Use this tool to validate a regex pattern, inspect matches, review capture groups, and highlight matched text without sending your sample text to a server.
Regex Tester
Test JavaScript regular expressions against sample text locally.
Results
// Match details will appear here. // Highlighted matches will appear here. How to use
- 1. Enter a pattern
Type a JavaScript regular expression pattern without surrounding slashes.
- 2. Choose flags
Enable common flags such as global, ignore case, multiline, or dotAll.
- 3. Review matches
See match counts, positions, capture groups, and highlighted matches.
Example
The example pattern finds email-like strings and shows captured local and domain parts.
Pattern: ([\w.-]+)@([\w.-]+\.\w+)
Text: Contact [email protected] or [email protected]
Flags: g, i // chap. 05 — FAQ
Frequently asked.
Answers to the questions people search for most when looking for free, private developer utilities.
/* indexed.txt */ - free for everyone - no cookies - input stays local - public roadmap
01 Does this use JavaScript regular expressions? +
Yes, this tool tests regular expressions using the JavaScript RegExp engine.
02 Is my text uploaded to a server? +
No, regex testing runs locally in your browser.
03 Can I use flags like g, i and m? +
Yes, common JavaScript regex flags are supported.