Regex Tester

Test regular expressions with live matches and capture groups.

Pattern

//gi

Test string

Matches (2)

Contact us at hello@devtoolkit.dev or support@example.com.

  • hello@devtoolkit.devat index 14
  • support@example.com.at index 38

Common regex examples

About the Regex Tester

Regular expressions are quick to write and hard to verify by reading. Testing against real sample text is the fastest way to confirm a pattern does what you expect.

Matches are highlighted in place and listed with their index and capture groups. The flags control global matching, case sensitivity, multiline anchors, dot-matches-newline and Unicode mode.

Frequently asked questions

Related tools

UUID Generator

Developer Utilities

Generate cryptographically random UUID v4 identifiers.

Open Tool

Cron Generator

Developer Utilities

Build cron expressions visually and explain existing ones.

Open Tool

Text Diff Checker

Developer Utilities

Compare two texts line by line and highlight the changes.

Open Tool

JSON Formatter

Formatters

Format, beautify and validate JSON with clear error messages.

Open Tool