.*
Regex Tester & Debugger
Test and debug regular expressions online. See matches highlighted in real-time with capture group details and match information.
//
Frequently Asked Questions
What are regular expressions?
Regular expressions (regex) are sequences of characters that define a search pattern. They are used for string matching, validation, and text manipulation.
What regex flags are supported?
Common flags include: g (global), i (case-insensitive), m (multiline), s (dotall), and u (unicode).
How do I capture groups?
Use parentheses () to create capture groups. Named groups use (?<name>pattern) syntax. The tool displays all captured groups for each match.
Related Tools
How to Use
- 1 Enter your regular expression pattern in the regex field.
- 2 Type or paste the test string you want to match against.
- 3 Toggle flags (g, i, m, s) as needed for global, case-insensitive, multiline, or dotall matching.
- 4 View highlighted matches, capture groups, and match positions in real time.