Loading tool...
Test and debug XPath expressions against XML documents. See matched nodes, values, and counts in real-time.
Convert text between 12 cases: UPPERCASE, lowercase, Title Case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, path/case, Sentence, and Alternating
Count words, characters, paragraphs, sentences with reading time, speaking time, readability scores (Flesch, Gunning Fog), and word frequency analysis
Regular expressions are powerful but notoriously tricky to get right. This tester lets you write a pattern, supply test strings, and immediately see which parts match — with highlighted capture groups, match indices, and flag options. Build and debug patterns interactively instead of guessing and re-running your code.
The tester evaluates your regex against the JavaScript regex engine in real time. Each match is highlighted in the test string, and named or numbered capture groups are listed separately so you can verify that your groups are extracting the right content. You can toggle flags like global (g), case-insensitive (i), multiline (m), dotAll (s), and unicode (u) to see how they affect matching. A quick-reference cheat sheet is available for common patterns and syntax.
Build and test regex patterns for email addresses, phone numbers, URLs, or custom input formats before embedding them in your code.
Craft patterns to extract timestamps, error codes, or IP addresses from log entries, verifying matches against sample lines.
Test complex find-and-replace patterns with capture groups before running them across a codebase or document.
Experiment with regex syntax and instantly see what matches — a much faster feedback loop than modifying and re-running scripts.
Pattern: ^[\w.-]+@[\w.-]+\.[a-zA-Z]{2,}$ — matches standard email addresses.
Pattern: (\d{4})-(\d{2})-(\d{2}) — captures year, month, and day from ISO dates.
It uses the JavaScript (ECMAScript) regex engine, which is what runs in all modern browsers and Node.js.
Most basic patterns are cross-compatible. However, features like lookbehinds, possessive quantifiers, or atomic groups may differ between engines. This tool reflects JavaScript behavior.
g = match all occurrences (not just the first), i = case-insensitive, m = ^ and $ match line boundaries, s = dot matches newlines, u = full Unicode matching.
All processing happens directly in your browser. Your files never leave your device and are never uploaded to any server.