🔍 Line Filter

包含
不包含
以...开头
以...结尾
完全匹配
正则匹配
长度大于
长度小于
原始: 0 行 结果: 0 行

📋 结果

请输入文本...

📚 深度解析:按条件过滤行

💡 常见使用场景

  • 日志筛选:只保留含「ERROR」或排除「DEBUG」的行,聚焦问题。
  • 名单处理:按关键词包含/不包含过滤,得到目标子集。
  • 数据预处理:过滤掉空行或特定前缀行,准备下游处理。
只留错误日志
粘贴 5000 行日志,设「包含 ERROR」,输出仅 23 行错误;再叠加「排除 timeout」可进一步排除已知噪声。

❓ 常见问题(FAQ)

支持正则吗?
支持。简单子串与正则模式两种;复杂条件(如「A 且非 B」)可用正则或组合多次过滤实现。
大小写敏感吗?
默认敏感,可开忽略大小写;「error」与「ERROR」在敏感模式下是两条不同匹配。

Formula & Standard References

Item Formula / Note Source / Standard
Regex syntax line filtering uses regular expressions in either ECMAScript or POSIX dialect ECMA-262, regular expressions
Anchor semantics line anchors match per line and require the multiline flag IEEE 1003.1, POSIX regular expressions
Inverse filtering exclusion and inclusion are complements summing to the total line count IEEE 1003.1, POSIX regular expressions
⚠️ 使用说明与注意事项