Email-like tokens
Capture local and domain parts with groups.
Pattern: (\w+)@(\w+\.\w+) · Text: hello@toolmint.dev1 match · group1=hello · group2=toolmint.devTest JavaScript regular expressions in your browser. Try patterns with flags, inspect matches and capture groups, and copy a match report - no upload required.
Enter a JavaScript pattern (without slashes) and choose flags.
Enter a regular expression or load the example to start matching.
Stored locally for now - helps us improve this tool.
Free utilities designed for privacy, speed, and everyday reliability.
100% Free
Core tools stay free with no paywall to unlock basics.
No Registration Required
Open a tool and start immediately - no account needed.
Privacy First
We avoid unnecessary collection and keep processing local when possible.
Browser Processing
Most tools run in your browser so your input never needs a server round-trip.
Fast & Secure
HTTPS everywhere with instant, client-side results for everyday tasks.
Mobile Friendly
Layouts and controls are built for phones, tablets, and desktops.
Updated Regularly
Tools and content are improved continuously as the platform grows.
Local visit data for this browser only.
See every match with start/end indices, numbered capture groups, and named groups as you edit the pattern or test string.
Toggle g, i, m, s, u, and y to mirror how your application will compile the expression.
Matched spans are marked in a plain-text preview so you can verify boundaries before shipping the regex to production.
Type the regular expression body without surrounding slashes. Enable the flags your runtime will use.
Add the sample text, log line, or input you want to match against.
Inspect match count, indices, groups, and the highlighted preview. Copy or download a report if you need to share it.
Iterate on a regex for validating emails, phone numbers, or usernames against realistic sample inputs before shipping it.
Write and test a capture-group pattern that pulls timestamps, IDs, or error codes out of raw log output.
Paste a suggested pattern and sample text to confirm it behaves as claimed before merging a pull request.
Check how a regex ported from another language behaves under JavaScript RegExp semantics, including flag and escaping differences.
Capture local and domain parts with groups.
Pattern: (\w+)@(\w+\.\w+) · Text: hello@toolmint.dev1 match · group1=hello · group2=toolmint.devFind every number with the global flag.
Pattern: \d+ · Flags: g · Text: order 12 and 72 matches: "12" and "7"Match a keyword regardless of case.
Pattern: error · Flags: i · Text: ERROR at line 91 match: "ERROR"All pattern compilation and matching run in your browser. ToolMint does not upload, store, or transmit the pattern or test string you enter. After the page has loaded, you can continue testing offline.
A Regex Tester is a developer tool that lets you write a regular expression, choose flags, and instantly see how it matches sample text. ToolMint’s Regex Tester uses the browser’s JavaScript RegExp engine so results align with typical frontend and Node.js code. It reports match positions, capture groups, named groups, and a highlighted preview so you can refine patterns with less trial and error.
Regular expressions are powerful and easy to get subtly wrong. A live tester reduces guesswork when validating emails, scraping log lines, extracting tokens, or writing replace rules. Because everything runs locally, you can paste proprietary log snippets and API payloads without uploading them. Clear match metadata shortens debugging cycles compared with console.log loops.
This tool evaluates JavaScript regular expressions only. Patterns that rely on PCRE, Python, or .NET-specific features may not compile or may match differently. Pathological patterns can cause slow matching on large strings. The tester does not rewrite production code or guarantee security properties of user-supplied regex in server environments.
Understanding JWT Tokens: Inspect Safely, Trust Carefully
What JSON Web Tokens are, how header/payload/signature fit together, how to decode them safely, and the security caveats developers still miss.
How to Format and Validate JSON Without Losing an Afternoon
Common JSON syntax errors, when to pretty-print or minify, how validation catches bad payloads early, and practical tips for API debugging.
Why Browser-Based Tools Are Often More Private
How client-side processing keeps files on your device, when servers are still necessary, and how ToolMint approaches privacy for everyday utilities.
Developer
Format and validate JSON instantly.
Updated Jul 20, 2026
Developer
Check JSON syntax and inspect structure locally.
Updated Jul 20, 2026
Developer
Format and minify SQL instantly.
Updated Jul 20, 2026
Developer
Format and minify HTML instantly.
Updated Jul 20, 2026
Security
Generate secure random passwords instantly in your browser.
Updated Jul 20, 2026
Text
Count words, characters, and reading time instantly.
Updated Jul 20, 2026
Text
Count characters and spaces with optional limits.
Updated Jul 20, 2026
Text
Convert text between common letter cases.
Updated Jul 20, 2026
Converter
Convert CSV to JSON instantly.
Updated Jul 20, 2026
Converter
Convert JSON arrays to CSV instantly.
Updated Jul 20, 2026
Converter
Convert XML to JSON instantly.
Updated Jul 20, 2026
Converter
Convert JSON into pretty XML instantly.
Updated Jul 20, 2026
Browse all tools on the homepage. Current tool: regex-tester.
Found a problem or missing feature? Tell us - no account required.
Last updated: