Skip to content
Esc

↑↓ to move Enter to open/ anywhere to search

Probador de expresiones regulares

Type a regular expression, choose the flags and paste some text. Matches are highlighted as you type, with their positions and capture groups listed, and you can test a replacement using $1 and $2. It uses the JavaScript regex engine.

Funciona en tu navegador. Tus archivos nunca salen de tu dispositivo.

Flags
Matches
2
#MatchPosiciónGroups
1[email protected]9$1=aisha $2=example
2[email protected]28$1=ben $2=test

Use $1, $2 for groups.

Resultado

Cómo funciona

  1. 01Type your pattern and choose the flags.
  2. 02Paste the text to test.
  3. 03Check the highlighted matches and the replacement.

Preguntas

Which regex flavor is used?

The JavaScript (ECMAScript) flavor that your browser uses.

Why does my pattern show an error?

The message from the browser tells you what is wrong, such as an unclosed bracket.

Is my file uploaded to a server?

No. Everything happens inside your browser on your own device. Your files are never sent to us or anyone else.

Is it free?

Yes. It is free to use, with no signup, no watermark and no daily limit.

Más herramientas