Regex Tester

Test regular expressions live with matches and replace preview.

0
Matches
0
Capture groups

Without the g flag only the first match is tested. Empty patterns match at every position, which is normal regex behavior.

Come usare

  1. Tutto viene eseguito localmente nel browser: nessun dato viene caricato, nessun account richiesto.

Informazioni

Enter a pattern (with optional g, i, m, u flags) and test text to see every match with its position and captured groups, plus a live preview of string.replace().

A reminder for daily use: regex cannot fully parse nested structures like HTML — use a parser for those, regex for the matches it was designed for.

Tutto viene eseguito localmente nel browser: nessun dato viene caricato, nessun account richiesto.

Embed this tool

Customize and copy an iframe. Linking back helps both sites.

Open preview