Usage
Use JavaScript regular-expression syntax. The tester uses the global flag so every match is listed; capture groups are included when present.
Where it breaks down
Two boxes are enough: the text you want to search and the pattern to search for. The page builds a JavaScript RegExp from your pattern with the global flag always on, then repeatedly calls exec() while advancing lastIndex, which is what lets it list every occurrence instead of only the first. Each hit is reported with its character offset, and if your pattern contains capture groups those are shown alongside the full match, so you can check exactly what (\d{4}) or (?<name>…) captured. An invalid pattern is caught rather than thrown, and the error message from the engine is printed so you can see whether the problem is an unclosed group, a bad escape or an unsupported construct. A sample button fills both boxes with a working example, and the matches can be copied straight out.
Formats, sizes and other limits
Only the JavaScript regular-expression flavour is available, running inside your browser. The global flag is fixed, and there are no toggles for case-insensitive, multiline, dot-all or unicode flags, so /i-style behaviour has to be written into the pattern with character classes or grouping. Because matching happens on the main thread, a pattern with nested quantifiers — the classic (a+)+ shape — can make the tab unresponsive on a long input; that is a property of the engine, not of this page. Very large inputs are processed synchronously, zero-length matches are advanced past so the loop terminates, and the tool reports matches only — it does not replace, highlight or export them.
Privacy: no data leaves this tab
Everything happens between the two textareas: the pattern is compiled and matched by your own JavaScript engine, and neither box is transmitted. The page makes no network requests for content, and the only external file is the shared theme script.
Frequently asked questions
Which regex syntax does it use?
JavaScript's own, the same flavour as the browser console and Node. Lookbehind and named groups work in modern browsers, but features from PCRE, Python or .NET — such as possessive quantifiers or atomic groups — are not supported and will be reported as an invalid pattern.
Why can I not switch to case-insensitive matching?
The tester is deliberately minimal and always uses the global flag. Add explicit character classes such as [Aa] to your pattern, or restructure it with an alternation, if you need case folding without flag support.
Why did my pattern freeze the page?
Catastrophic backtracking: a pattern like (a+)+b against a long run of a's makes the engine try an exponential number of combinations. Shorten the input, make the quantifiers possessive by rewriting them, or add anchors to cut down the search space.