Updated
Regex tester explained
Run a JavaScript regular expression against local text and inspect each match, capture group and starting index. Global and sticky flags determine whether matching continues. A separate worker stops patterns that take too long.
A worked example
OCT-(\d+) applied to OCT-42 matches the whole code and captures 42 as the first group. Match indexes count UTF-16 code units from zero.
Before you use the result
Uses this browser’s JavaScript regex grammar, not PCRE, Python or .NET. Timeout and match limits prevent runaway jobs. Results never claim that a pattern is safe for a production service.
Cite this page
ToolOctopus. “Regex tester.” Updated 2026-09-20. https://tooloctopus.com/regex-tester-tool.
Add an access date if your instructions require one.
Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. Licence and source code.
