Type a regex and test it against sample text. See matches, capture groups, and flags. Runs entirely in your browser.
Type your regular expression (e.g. \d+ or (\w+)).
Paste or type the text to test against.
See matches, groups, and highlighted regions below.