首页Home › 文本工具Text Tools

🔢 数字筛选器(从文本提取并过滤数字)Filter Numbers

从任意文本中提取数字,并按条件筛选:大于、小于、区间、正数、负数、偶数、奇数、整数或小数,可去重和排序。支持千分位和全角数字。Pull the numbers out of any text and keep only those that match: greater than, less than, between, positive, negative, even, odd, integer or decimal — with optional de-duplication and sorting. Thousands separators and full-width digits work.

使用说明与常见问题How-to & FAQ

「数字筛选器(从文本提取并过滤数字)」是什么?What is the Filter Numbers tool?

从任意文本中提取数字,并按条件筛选:大于、小于、区间、正数、负数、偶数、奇数、整数或小数,可去重和排序。支持千分位和全角数字。Pull the numbers out of any text and keep only those that match: greater than, less than, between, positive, negative, even, odd, integer or decimal — with optional de-duplication and sorting. Thousands separators and full-width digits work.

如何使用「数字筛选器(从文本提取并过滤数字)」?How do I use the Filter Numbers tool?

在「数字筛选器(从文本提取并过滤数字)」中,把内容粘贴或输入到上方输入框,按需设置「A」、「B」,结果会实时显示在下方,点击「复制结果」即可复制。In the Filter Numbers: Paste or type into the input box, adjust "A", "B"; the result appears below instantly — click "Copy result" to copy it.

负号和小数点能识别吗?Are minus signs and decimals recognised?

能。-7、−7(数学减号)、3.5、.5 和科学计数法 1e3 都会被识别。注意 2026-10-18 这类日期会被拆成 2026、-10、-18,因为连字符紧挨数字时被当作负号。Yes. -7, −7 (maths minus), 3.5, .5 and scientific notation like 1e3 are all read. Note that a date like 2026-10-18 becomes 2026, -10 and -18, because a hyphen directly before digits is read as a minus sign.

1,250 会被当成一个数还是两个?Is 1,250 one number or two?

默认勾选“识别千分位”,1,250 视为 1250。如果你的文本是用逗号分隔的数字列表(如 1,2,3),请取消勾选,否则 1,250 之类会被合并。With 'Read thousands commas' on (default), 1,250 is 1250. If your text is a comma-separated list such as 1,2,3, untick it so values are not merged.

偶数/奇数如何处理小数?How do even/odd treat decimals?

只有整数才有奇偶,小数(如 2.5)在奇偶筛选中都会被排除。Only integers are even or odd; decimals such as 2.5 are excluded by both filters.

输出的数字是什么格式?How are the numbers written in the output?

按原文写法输出(只去掉千分位逗号),例如 1e3 仍输出 1e3、10.0 仍输出 10.0;筛选和去重按数值进行,所以 10 和 10.0 去重后只留一个。超过 2^53 的长整数按精确值比较和判断奇偶;超出可表示范围的数字(如 1e400)会被排除并提示。Numbers are written as in the text (only thousands commas removed): 1e3 stays 1e3 and 10.0 stays 10.0. Filtering and de-duplication use the numeric value, so 10 and 10.0 count as one. Integers above 2^53 are compared and tested for even/odd exactly; numbers too large to represent (such as 1e400) are excluded with a notice.

处理大段文本会卡吗?Can it handle long text?

「数字筛选器(从文本提取并过滤数字)」在浏览器中直接处理,几 MB 以内的文本通常瞬间完成;文本不会离开你的设备。The Filter Numbers runs in your browser; text up to a few MB is usually processed instantly and never leaves your device.

「数字筛选器(从文本提取并过滤数字)」免费吗?需要注册吗?Is the Filter Numbers free? Do I need an account?

「数字筛选器(从文本提取并过滤数字)」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Filter Numbers is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.

相关工具Related tools

🔁 二进制与格雷码互转Binary to Gray Code Converter🔀 字母打乱器(随机打乱字母/字符)Shuffle Letters🪞 镜像文字生成器(反向文字)Mirror Text Generator📝 在线记事本(自动保存)Online Notepad👻 隐形字符生成器(空白昵称/空消息)Invisible Text Generator🔢 字数统计Word & Character Counter🔠 大小写转换Case Converter🧹 删除重复行Remove Duplicate Lines↕️ 文本行排序Sort Lines🆚 文本对比Text Diff Checker🔍 文本查找替换Find and Replace Text🔗 URL Slug 生成器URL Slug Generator

← 全部工具All tools