Herramientas gratuitas

Regex Tester

Free JavaScript regex tester. Try a pattern against sample text and see matches and groups instantly. Your test string stays in this browser tab.

Los nombres, instrucciones y contenidos generados de las herramientas pueden estar en inglés.

2 matches

  • Discord @ 19
  • Brighton @ 38

Acerca de esta herramienta

Check Discord command parsers, slug rules or log scrapers without leaving GraphicByte. The tester uses the same RegExp engine as your browser.

Invalid flags or patterns show the engine error. Matches list the text, index and capture groups.

Cómo usarla

  1. Enter the pattern and flags (for example g or gi).
  2. Paste the text you want to test.
  3. Read matches below. Fix the pattern if an error appears.

Preguntas frecuentes

Is this PCRE or JavaScript regex?

JavaScript. Syntax matches what you would use in a browser or Node app, not PHP PCRE.

Why are there no matches?

The pattern may lack a global flag, or the sample text does not contain a match. Invalid regex also yields an error instead of matches.

Is my test data sent to GraphicByte?

No. Matching runs entirely in this page.

Más herramientas gratuitas