Skip to main content
DevTools24

Regex Builder

Build regular expressions visually with pattern blocks. Combine patterns and quantifiers with live testing.

/.../g

Regular Expressions - Détails techniques

Regular expressions are patterns used to match character combinations in strings. Build patterns with character classes (\\d, \\w, \\s), quantifiers (+, *, ?), anchors (^, $), and groups. Test your patterns against sample text.

Alternative en ligne de commande

// Common regex patterns\n/^[\\w.-]+@[\\w.-]+\\.[a-z]{2,}$/i  // email\n/^\\d{3}-\\d{3}-\\d{4}$/           // phone\n/^https?:\\/\\/.+/                  // URL

Référence

Voir la spécification officielle