Regex Tester
Write and test regex patterns with sample input, flags, matches, groups, and replace.
🧪 Regex Tester
JavaScript (ECMAScript) regular expressions.
Max processed: 100,000 characters. Matches capped at 1,000.
Use $1, $2… for numbered groups, $& full match, $<name> for named groups.
Replace Output
—
Flags: /g/ • Matches: 1• Time: 0 ms
Highlighted Match
Matches & Groups
#1 [0–0):
Positional Groups
- —
Named Groups
- —
Matches (JSON)
[
{
"match": "",
"index": 0,
"groups": {},
"captures": []
}
]🔧Related Developer Tools
Base64 Encoder/Decoder
Encode and decode Base64 strings, files, images with data URL support. Upload files or paste text for instant conversion.
URL Encoder/Decoder
Encode and decode URLs, query strings, and URI components. Supports encodeURIComponent and encodeURI with URL parser and query parameter inspector—all client-side.
UUID/GUID Generator
Generate unique identifiers (UUID v4, v1, Nil, Max) with bulk generation support. Includes UUID validator and multiple output formats—all client-side.