Regex Tester

Test your regular expressions in real-time against sample text. See matches highlighted instantly as you type.

This tool generates fictitious data intended exclusively for software testing and development purposes. The data does not correspond to real people or entities and must not be used for illegal, fraudulent purposes, or in ways that violate the privacy of others. Compliant with LGPD (Brazilian Data Protection Law).

About the Regex Tester

What are Regular Expressions?

Regular expressions (regex) are patterns used to search, validate, and manipulate text. They are essential for form validation, log parsing, code searching, and data transformation.

How to use this tool?

Type your regex pattern, select the flags (g for global, i for case-insensitive, m for multiline), and paste the test text. Matches are highlighted in real time with position details and capture groups.

Available flags

g (global - all matches), i (case-insensitive), m (multiline - ^ and $ per line), s (dotAll - . includes \n), u (unicode). Combine flags as needed.