Back to tools
Regex Tester
Test regular expressions with flags, match highlighting, capture groups, and detailed match positions.
//g
0 matches
Matches will appear here.
How to use Regex Tester
Enter regex
Type your regular expression pattern in the regex input.
Add test text
Paste the text you want to test your pattern against.
Choose flags
Enable flags like global, ignore case, multiline, or dotAll.
Find matches
Run the regex and view all matches with positions.
Highlight matches
Matched text is highlighted in the preview panel.
Copy results
Copy the match list or clear everything when done.