[{"data":1,"prerenderedAt":123},["ShallowReactive",2],{"tool-content-en-line-filter":3},{"id":4,"title":5,"body":6,"description":114,"extension":115,"locale":116,"meta":117,"navigation":118,"path":119,"seo":120,"stem":121,"toolId":12,"__hash__":122},"tools\u002Ftools\u002Fen\u002Fline-filter.md","Line Filter",{"type":7,"value":8,"toc":108},"minimark",[9,13,17,21,102,105],[10,11,5],"h2",{"id":12},"line-filter",[14,15,16],"p",{},"Keep or remove lines by keyword or regular expression, without uploading anything. Everything runs locally in your browser.",[10,18,20],{"id":19},"features","Features",[22,23,24,45,51,60,74,80,86,92],"ul",{},[25,26,27,31,32,36,37,40,41,44],"li",{},[28,29,30],"strong",{},"Keyword or regex"," — plain keywords are matched literally, so ",[33,34,35],"code",{},"a.c"," never matches ",[33,38,39],{},"abc",". Switch to regex mode for patterns like ",[33,42,43],{},"^ERROR\\b",".",[25,46,47,50],{},[28,48,49],{},"Any or all patterns"," — one pattern per line. Keep lines matching at least one of them, or only lines matching all of them.",[25,52,53,56,57,44],{},[28,54,55],{},"Keep or remove"," — invert the match to delete the matching lines instead of keeping them, like ",[33,58,59],{},"grep -v",[25,61,62,65,66,69,70,73],{},[28,63,64],{},"Ignore case"," — ",[33,67,68],{},"Error"," and ",[33,71,72],{},"error"," are the same token unless you turn case sensitivity on.",[25,75,76,79],{},[28,77,78],{},"Drop empty lines"," — remove blank lines in the same pass.",[25,81,82,85],{},[28,83,84],{},"Counts"," — see the total number of lines, how many stayed, how many were removed, and how many patterns are active.",[25,87,88,91],{},[28,89,90],{},"Highlighted matches"," — every matched span in the result is highlighted, so you can see why each line stayed. In remove mode the surviving lines are the non-matches, so nothing is highlighted.",[25,93,94,97,98,101],{},[28,95,96],{},"Export"," — copy the filtered text, move it into the input to keep working on it, or download it as a ",[33,99,100],{},".txt"," file.",[14,103,104],{},"An invalid regular expression is reported instead of silently dropping every line, so a typo never wipes your output.",[14,106,107],{},"All processing stays on your device; no data leaves the browser.",{"title":109,"searchDepth":110,"depth":110,"links":111},"",2,[112,113],{"id":12,"depth":110,"text":5},{"id":19,"depth":110,"text":20},"Keep or remove lines by keyword or regex, matching any or all patterns, and count what stays. Runs locally in your browser.","md","en",{},true,"\u002Ftools\u002Fen\u002Fline-filter",{"title":5,"description":114},"tools\u002Fen\u002Fline-filter","TxVhWRYc_f5xFNNTuvXh6dXUycC1sbKWVelw8OIjGr0",1792391419171]