How to use Regex Tester
- Type your pattern, for example \b\w{5}\b.
- Add flags if you need them. g finds every match, i ignores case.
- Paste the text to test.
- Read the list of matches and where each one starts.
Something not working? Report a problem and it will be looked at.
Related guides
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.