Regex Tester

Test regular expressions live with match highlighting, flags, and group capture support.

Regex Tester

Examples:
//
Preview
Contact us at hello@example.com or support@foo.io for help.
2 matches found
1hello@example.comat index 14
2support@foo.ioat index 35

What is a Regular Expression?

A regular expression (regex) is a sequence of characters that defines a search pattern. They are used in programming for string validation, parsing, search-and-replace, and data extraction. Common use cases include validating emails, URLs, and phone numbers.