RegEx Tester

Test your regular expressions against sample text and visualize the matches with various flags.

Enter your regular expression pattern.
The text where you want to find matches.
Flags:
Find all matches, not just the first.
Perform case-insensitive matching.
Treat start and end anchors (^ and $) as matching at the start/end of each line, not just the whole string.
Allows dot (.) to match newline characters.
Treat pattern as a sequence of Unicode code points.
Matches only from the index indicated by the `lastIndex` property of this regular expression in the target string.
Results:
Category

Did this tool work as expected?