Pattern + flags + test string — real-time match highlighting with colored capture groups and a curated preset sidebar for common patterns.
Pattern
Test string
2 matches
Users created today: - alice@lokall.app (id: f47ac10b-58cc-4372-a567-0e02b2c3d479) - bob+newsletter@example.com (id: 550e8400-e29b-41d4-a716-446655440000) Shipped at 2026-05-10T09:00:00Z from 192.168.1.42. Check https://lokall.app/tools for more.
Common patterns
Paste your pattern
Any JavaScript RegExp. The slashes are visual only; enter just the body.
Pick flags
g / i / m / s / u / y — toggle individually or type freeform.
Edit the test string
Matches highlight live in different colors; capture groups show their indexed values.
Grab a preset
Email, URL, UUID, IPv4, ISO date, phone, hex color, slug — one click to apply.
It's native JavaScript RegExp — the same engine your browser runs. For Python/PCRE differences you'd need a different tool; here everything is JS.
g for global (find all matches), i for case-insensitive, m for multiline ^/$, s for dot-matches-newline, u for Unicode, y for sticky. Most patterns need g + i.
Without the g flag, a regex only finds the first match. Toggle g to highlight every occurrence.
The common-pattern sidebar is curated; personal pattern storage would need an account. Paste your own into the pattern field and copy the /…/flags back out when done.
JSON formatter
Pretty-print, minify, sort keys, validate — plus one-click TypeScript type inference.
SVG optimizer
Paste or drop an SVG to strip metadata, minify paths, and optionally convert to React JSX.
Translating screenshots into every locale is what lokal was built for. Upload once, ship to every store.
Explore lokal