Test regular expressions with live match highlighting
Highlighted matches
hello@example.comat index 14helloGroup 2: example.comsupport@test.orgat index 35supportGroup 2: test.orgWrite a regular expression, paste in test text, and see every match highlighted live — with capture groups broken out and clear errors for invalid patterns.
Enter your pattern
Type a regular expression.
Set flags
Toggle g, i, m, and s as needed.
Paste test text
See every match highlighted, with capture groups listed below.
What does the "g" flag do?
Global — without it, only the first match is found; with it, every match in the text is found and listed.
Why does my pattern show an error?
The pattern isn't valid JavaScript regex syntax — the exact error message from the engine is shown to help pinpoint the issue.
Convert YAML to JSON or JSON to YAML instantly, in either direction, with clear parse-error messages. All conversion happens in your browser.
Generate placeholder Lorem Ipsum text by paragraphs, sentences, or words. Copy or download instantly. All generation happens in your browser.
Comprehensive text processing tool to count characters, words, lines, and more. Convert text case, find & replace, remove extra spaces. All processing done locally in your browser.
Compare two texts side-by-side with color-coded highlighting for additions, deletions, and modifications. Supports line-by-line, word-level, and character-level comparison modes. Perfect for code review, document comparison, and tracking changes.