Regex Tester & Debugger

Test and debug regular expressions in real-time. See matches highlighted, capture groups, and detailed explanations.

/ /
0
Matches
0
Groups
0ms
Exec Time
Enter a pattern and test string to see matches highlighted.

Match details will appear here.

How to Use

1

Enter Your Pattern

Type your regular expression in the pattern field. Use standard regex syntax.

2

Set Flags

Choose flags like global (g), case-insensitive (i), or multiline (m) to modify matching behavior.

3

Add Test Text

Enter the text you want to test. Matches will be highlighted in real-time.

4

View Results

See all matches highlighted with detailed information about each match and capture groups.

FAQ

What regex syntax is supported?

This tool uses JavaScript's native RegExp engine. It supports standard regex syntax including character classes, quantifiers, groups, lookahead/lookbehind, and Unicode properties.

What do the flags mean?

g (global): Find all matches. i: Case-insensitive. m (multiline): ^ and $ match line boundaries. s (dotAll): . matches newlines. u (unicode): Enable Unicode features.

How do I use capture groups?

Use parentheses to create groups: (pattern). Named groups use (?<name>pattern). Groups are shown in the match details section.

Is my data secure?

Yes. All regex processing happens in your browser. Your patterns and test strings never leave your device.

Related Tools