Sviluppo

Regex Tester

Tester di regex

Prova and debug regular expressions with real-time matching and highlighting. Convalidare patterns, test multiple strings, and understand regex behavior instantly.

Strumento Tester Regex

Flag di espressioni regolari

Modelli Regex rapidi

Informazioni sulle espressioni regolari

Metacaratteri comuni

^- Start of string/line
$- End of string/line
.- Any character (except newline)
*- Zero or more repetitions
+- One or more repetitions
?- Zero or one repetition

Classi di caratteri

[abc]- Any character from set
[^abc]- Any character not in set
\d- Any digit [0-9]
\w- Word character [a-zA-Z0-9_]
\s- Whitespace character
\b- Word boundary

Spiegazione dei flag Regex

g (globale)

Find all matches, not just the first one

i (senza distinzione tra maiuscole e minuscole)

Ignore case when matching

m (Multilinea)

Treat string as multiple lines

s (Punto tutto)

Allow . to match newline characters

u (Unicode)

Enable full Unicode support

y (appiccicoso)

Match only from the lastIndex position

Solo a scopo educativo. Consultare un professionista qualificato per consulenze finanziarie o mediche.

Altro in SviluppoView all