How it works
Applies a `/pattern/flags` expression from the first input to the sample in the second and runs the search in a browser Worker, reporting each match and start index.
Check regular expression matches against sample text.
Applies a `/pattern/flags` expression from the first input to the sample in the second and runs the search in a browser Worker, reporting each match and start index.
Enter `/\d+/g` and sample `A12` to get `12 (index 1)`. If `g` is absent, the tester adds it to find multiple matches.
Pattern limit: 200 characters; sample: 20,000; execution: 250ms. Nested repetition and backreferences are rejected, and at most 100 matches are listed. Check delimiters, flags, and input lengths.
No. It lists up to 100 matched strings with their starting indexes.
The input area shows the accepted format and available controls for this tool.
No. Your input is handled in the browser you are using. Privacy