Form Validation & Log Parsing
Debug email, phone, semantic version, and server-log extraction patterns.
Test regular expressions live with inline match highlighting, capture group inspection, flags (g, i, m, s, u), and a regex cheat sheet.
Compiles your pattern directly with the native browser ECMAScript RegExp engine and guards against zero-length infinite loops.
new RegExp(pattern, flags) → [...text.matchAll(re)]
Most-used character classes, quantifiers, and anchors.
| Token | Meaning | Example | Matches |
|---|---|---|---|
| \d / \D | Digit / Non-digit | \d{4} | 2026 |
| \w / \W | Word char [A-Za-z0-9_] | \w+ | hello_1 |
| \s / \S | Whitespace / Non-space | \s+ | spaces, tabs |
| ^ / $ | Start / End of line | ^https:// | URL prefix |
| * / + / ? | 0+, 1+, 0 or 1 times | colou?r | color, colour |
| {m,n} | Between m and n times | [a-z]{2,4} | com, org, info |
| (abc) | Capturing group | (\d+)-(\d+) | Group 1 & Group 2 |
| (?:abc) | Non-capturing group | (?:Mr|Ms)\. | Mr., Ms. |
| (?=abc) | Positive lookahead | \d+(?=px) | 16 in 16px |
| \b | Word boundary | \bcat\b | cat (not scatter) |
Debug email, phone, semantic version, and server-log extraction patterns.
Verify capture groups before running bulk codebase replacements.
Generate 1–50 cryptographically random RFC 4122 UUID v4 identifiers via Web Crypto API.
Escape reserved HTML characters into safe entities and decode HTML entity strings.
Convert HEX, RGB, and HSL color codes with live WCAG 2.1 contrast ratio verification.
Inspect JWT header, payload claims, and exp/iat timestamps 100% locally with zero uploads.
Compute cryptographic SHA-1, SHA-256, SHA-384, and SHA-512 hex digests locally via Web Crypto API.
Generate high-entropy cryptographic passwords using Web Crypto API with customizable length, character sets, and entropy bits.
Translate standard 5-field Unix cron schedules into plain English with presets and syntax diagnostics.