PatternJavaScript RegExp flags
Test textMatches update as you type
Tip: include capture groups (…) to highlight them

Enter a regex and test text to see matches.

What Is a Regex Tester?

A regex tester is an interactive tool for testing regular expressions against text. Enter a pattern, choose flags like case-insensitive (i) or global (g), and see matches highlighted instantly with capturing group details.

Regular expressions are patterns used for text matching and manipulation. This tool supports JavaScript RegExp syntax, including groups, character classes, quantifiers, and more. Use the preset dropdown to try common patterns like email, URL, or UUID validation.

Back to home