.*

Regex Tester

Write a pattern, paste test text, and see every match highlighted live. Replace, split, explain, and export β€” the most complete free regex tool.

Live HighlightsReplace ModeSplit ModeExplain Pattern20+ PatternsCheat SheetExport JSON/CSVNamed GroupsFree & Private
5
Matches
5
Lines matched
0
Capture groups
1
Active flags
283
Test chars
6
Test lines
Pattern
//g
Test String
283 chars Β· 6 lines
The quick brown fox jumps over the lazy dog. Her email is [email protected] and [email protected]. Visit https://langlation.com/tools for free tools. Meeting at 14:30 on 2026-04-15 in room 3B. Hex colors: #ff6b6b, #4ecdc4, #fff. IP: 192.168.1.1, UUID: 550e8400-e29b-41d4-a716-446655440000
Match Details5
1
Theindex 0–3len 3line 1
2
Herindex 45–48len 3line 2
3
Visitindex 94–99len 5line 3
4
Meetingindex 145–152len 7line 4
5
Hexindex 188–191len 3line 5

Frequently Asked Questions

About this Regex Tester

This free online regex tester runs entirely in your browser using JavaScript's native RegExp engine. Your data never leaves your device β€” no server, no signup, no tracking.

Match mode highlights every occurrence with color-coded capture groups. Click a highlighted match to jump to its details. Replace mode applies your pattern with a replacement string supporting $1, $2, and $& back-references. Split mode shows the array your pattern would produce with String.prototype.split(). Explain mode tokenises your pattern into plain-English descriptions of each component.

The Common Patterns library includes 20+ ready-to-use patterns for email, URL, IP address, date, phone number, hex color, UUID, and more. The Cheat Sheet covers anchors, character classes, quantifiers, groups, flags, and escapes β€” all clickable to append to your pattern.