文字与文档工具

提取包含文本的行

粘贴文本,输入字面搜索内容,在浏览器中提取匹配的行。

优先本地处理无需注册隐私说明 ↗

最多 100,000 个字符。逐行文本完全保留;处理仅在此浏览器中进行。

搜索使用字面文本,不使用正则表达式。

使用步骤

如何使用

  1. 粘贴或输入文本。
  2. 输入要查找的字面文本并选择是否区分大小写。
  3. 点击“提取匹配行”,然后查看或复制结果。

字面匹配

搜索内容始终按普通文本匹配,不使用正则表达式;可区分或忽略大小写。

Local processing

Text processing and copying happen in this browser tab. No text is uploaded.

常见问题

你可能还想知道

搜索会使用正则表达式吗?

不会。搜索内容始终按字面文本处理。

What happens when the search value is empty?

The original text is returned unchanged, including its lines and newline style.

Are spaces and blank lines preserved?

Yes. Matching lines are returned without trimming, and blank lines are kept only when they match an empty query.

Are line endings supported?

Yes. LF, CRLF, and CR are accepted; output uses the first newline style found.