Test a regular expression against log lines, config files or command output. See every match with numbered and named groups, preview a replace, and copy the equivalent PowerShell command. Runs entirely in your browser.
(?<name>...). Without the g flag only the first match is returned, the same as JavaScript exec() and PowerShell -match.-creplace unless you set i, because PowerShell -replace and -match ignore case by default. .NET writes named groups in replacements as ${name}, and the snippet converts that for you.(a+)+ can hang any regex engine on long input, so test against real log samples before putting a pattern in a script or SIEM rule.Runbooks, checklists and helpdesk templates: IT Admin Packs on Gumroad.