EasyDebug.NET

Regex Tester

Online regex tester with real-time match highlighting and common flags support.

What is a regular expression?

A regular expression (regex) is a pattern that describes a set of strings. It is made up of literal and meta characters, widely used for searching, replacing, and validating text.

Flag reference

  • g/Global: find all matches
  • i/Case-insensitive
  • m/Multiline: ^ and $ match at each line
  • s/Dot-all: . also matches newlines

Example

Phone: ^1[3-9]\d+$; Email: ^[\w.+-]+@[\w-]+\.[\w.]+$