.*
Regex Tester
Runs in your browserInput
Output
Ready — zero server calls
Related Tools
How to Use
- Enter your regex pattern on the first line (with optional /flags/).
- Add a --- separator, then paste your test string below.
- See all matches highlighted with their positions and captured groups.
What is a Regular Expression?
A regular expression (regex) is a pattern that describes a set of strings. Regexes are used in virtually every programming language for text search, validation, extraction, and replacement. Common uses include email validation, URL parsing, log analysis, and data extraction.
How to Use This Regex Tester
Enter your regex pattern on the first line (with optional /flags/), add a --- separator, then your test string below. The tool shows all matches with their positions, captured groups, and a highlighted view of where matches occur in your text. Supports all JavaScript regex flags: g (global), i (case-insensitive), m (multiline), s (dotAll), u (unicode), and y (sticky).