technine.io

Tools

Regex Tester

Test regular expressions against sample text and review match groups.

1. contact@technine.io at 8
2. hello@example.com at 31

Test a JavaScript regular-expression pattern against sample text and review every match with its starting index.

How to use this tool

  1. Enter a JavaScript pattern without / delimiters, for example \b\w+@\w+\.\w+\b.
  2. Add flags such as i or m if needed.
  3. Paste sample text and review the matched text and positions.

Ways to use it

Check form rules
Try a JavaScript pattern against representative email, reference or identifier values.
Inspect repeated matches
Find every occurrence of a phrase or token in sample text and see where each one starts.

Pattern support

  • Patterns use the browser JavaScript RegExp engine and must be entered without /pattern/ delimiters.
  • The tool adds the global g flag so it can list all matches and their indices.
  • It reports matches and positions only; it does not replace text or emulate another regex engine.

Common questions

Should I include slashes around the pattern?

No. Enter the pattern itself, then enter flags separately.

Why are all matches returned?

The tool uses the global g flag to list every match.

Can I test a PCRE or Python pattern?

Only if it is also valid in JavaScript RegExp; engine-specific syntax can fail.

Can it replace text?

No. This tool only lists matching text and starting indices.

ConsultWhatsApp