0 uploads

Home / Developer

How to use Regex Tester

  1. Type your pattern, for example \b\w{5}\b.
  2. Add flags if you need them. g finds every match, i ignores case.
  3. Paste the text to test.
  4. Read the list of matches and where each one starts.

Something not working? Report a problem and it will be looked at.

Related guides

Common JSON errors and how to fix themThe mistakes that make JSON invalid, such as trailing commas and single quotes, with before-and-after examples.2 min read

Frequently asked questions

Which engine is used?

Your browser's JavaScript regular expression engine.

Are my files uploaded?

No. Everything runs in your browser and your data never leaves your device.

Related tools

JSON Formatter & ValidatorPretty-print, validate and debug JSON with clear error messages.
Base64 Encoder & DecoderEncode text to Base64 or decode it back, with full UTF-8 support.
URL Encoder & DecoderPercent-encode or decode URLs and query strings.
UUID GeneratorGenerate random version 4 UUIDs, one or many at a time.