Test JavaScript regular expressions entirely in your browser with zero network calls. Built for DevOps workflows: paste logs, validate patterns, inspect capture groups, preview replacements, and copy structured match data. Save this HTML file locally and use it completely offline.
Tip: JavaScript replacements support numbered groups like $1
and named groups like $<name>.
Click a snippet to load the pattern. These are intentionally practical starting points; tune them for your environment.
(?\d{4}-\d{2}-\d{2}T[^\s]+)\s+(? INFO|WARN|ERROR)\s+(? .*) (? \b(?:\d{1,3}\.){3}\d{1,3}\b) status=(? [1-5]\d{2})
\d digit \w word char \s whitespace . any char except newline ^ line start $ line end \b word boundary .*? lazy any text (?:x) non-capturing group (?x) named capture group
This page blocks fetch and XMLHttpRequest calls and loads no external libraries. Clipboard copy uses your browser clipboard API only.