Find and Replace Text
Find text, replace first or all matches, and count replacements.
Enter a regex, flags, and sample text to see match count, match list, and invalid regex errors.
Tip: MH Tools runs this utility in your browser for quick no-login use. Review generated output before publishing or sharing it.
Regex Tester is part of the Developer Tools collection in MH Tools. It is designed for fast, no-login use and works well for quick browser-based tasks.
Enter a regex, flags, and sample text to see match count, match list, and invalid regex errors.
Step 1: Enter a regex pattern.
Step 2: Choose flags.
Step 3: Paste test text and review matches.
No. Invalid patterns show a friendly error.
Find text, replace first or all matches, and count replacements.
Lightly format or minify JavaScript snippets.
Find top keywords, frequency, and density percentages.
Format, minify, and validate JSON with clean error messages.
Encode or decode URL-safe strings instantly.
Encode plain text to Base64 or decode Base64 back to text.
Format, minify, and validate JSON with clean error messages.
Encode or decode URL-safe strings instantly.
Encode plain text to Base64 or decode Base64 back to text.
Generate one or many browser-safe UUIDs.
Matches
2
Toolstools