if (optionsPart) // simple regex extraction with case insensitivity const msgMatch = optionsPart.match(/msg\s*:\s*"([^"]*)"/i); if (msgMatch) msg = msgMatch[1];
.btn-primary:hover background: #1d4ed8; transform: translateY(-1px);
// optional: second sheet with rule stats summary const statsSheetData = [ [ "Statistic", "Value" ], [ "Total Rules", currentParsedRules.length ], [ "Unique Actions", [...new Set(currentParsedRules.map(r=>r.action))].join(", ") ], [ "Protocols present", [...new Set(currentParsedRules.map(r=>r.protocol))].join(", ") ], [ "Generated on", new Date().toLocaleString() ], [ "Tool", "IDS RuleFlow Better Excel Downloader" ] ];
Depending on your industry, use these specialized converters to get a "better" download: IDS4ALL Converter
if (optionsPart) // simple regex extraction with case insensitivity const msgMatch = optionsPart.match(/msg\s*:\s*"([^"]*)"/i); if (msgMatch) msg = msgMatch[1];
.btn-primary:hover background: #1d4ed8; transform: translateY(-1px); idsxls download better
// optional: second sheet with rule stats summary const statsSheetData = [ [ "Statistic", "Value" ], [ "Total Rules", currentParsedRules.length ], [ "Unique Actions", [...new Set(currentParsedRules.map(r=>r.action))].join(", ") ], [ "Protocols present", [...new Set(currentParsedRules.map(r=>r.protocol))].join(", ") ], [ "Generated on", new Date().toLocaleString() ], [ "Tool", "IDS RuleFlow Better Excel Downloader" ] ]; if (optionsPart) // simple regex extraction with case
Depending on your industry, use these specialized converters to get a "better" download: IDS4ALL Converter if (msgMatch) msg = msgMatch[1]