🔍

首页Home › 文本工具Text Tools

🧽 去除列表项前缀(删除项目符号、编号或指定前缀)Remove a List Item Prefix

批量删除列表每一项开头的前缀:自动识别并去掉项目符号(- * • → ✓ 等)、Markdown 任务框、各种数字 / 字母 / 罗马数字 / 中文编号;也可以删除指定文字前缀(可选区分大小写、重复出现时全部删除)、删除开头固定个数的字符,或用正则表达式匹配前缀。可保留缩进,没有前缀的行原样保留。适合清理复制来的清单、Markdown 和编号文本,数据在本地处理。Strip the prefix from the start of every item in a list. Auto mode detects and removes bullets (- * • → ✓ and more), Markdown task boxes, and number, letter, Roman and Chinese numbering. You can also remove a specific text prefix (optionally case-sensitive, and repeated occurrences), a fixed number of leading characters, or a prefix matched by a regular expression. Indentation can be kept, and lines without a prefix stay as they are. Great for cleaning up copied lists, Markdown and numbered text. Processed locally.

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

「去除列表项前缀(删除项目符号、编号或指定前缀)」是什么?What is the Remove a List Item Prefix tool?

批量删除列表每一项开头的前缀:自动识别并去掉项目符号(- * • → ✓ 等)、Markdown 任务框、各种数字 / 字母 / 罗马数字 / 中文编号;也可以删除指定文字前缀(可选区分大小写、重复出现时全部删除)、删除开头固定个数的字符,或用正则表达式匹配前缀。可保留缩进,没有前缀的行原样保留。适合清理复制来的清单、Markdown 和编号文本,数据在本地处理。Strip the prefix from the start of every item in a list. Auto mode detects and removes bullets (- * • → ✓ and more), Markdown task boxes, and number, letter, Roman and Chinese numbering. You can also remove a specific text prefix (optionally case-sensitive, and repeated occurrences), a fixed number of leading characters, or a prefix matched by a regular expression. Indentation can be kept, and lines without a prefix stay as they are. Great for cleaning up copied lists, Markdown and numbered text. Processed locally.

如何使用「去除列表项前缀(删除项目符号、编号或指定前缀)」?How do I use the Remove a List Item Prefix tool?

在「去除列表项前缀(删除项目符号、编号或指定前缀)」中,把内容粘贴或输入到上方输入框,按需设置「删除」、「前缀」、「字符数」、「正则」,结果会实时显示在下方,点击「复制结果」即可复制。In the Remove a List Item Prefix: Paste or type into the input box, adjust "Remove", "Prefix", "Characters", "Regex"; the result appears below instantly — click "Copy result" to copy it.

自动模式能识别哪些前缀?Which prefixes does Auto mode recognise?

项目符号 - * + • ◦ ▪ ‣ – — → ✓ ✔ ✗ ☐ ☑ ☒ 和引用符号 >;Markdown 任务框 [ ] / [x];数字编号 1. 1) (1) 1、 1:;字母编号 a. a) (a);罗马数字 i. iv);中文编号 一、 十二、;圆圈数字 ①–⑳。字母和罗马数字后面必须有空格才会被删除,所以“Apple pie”“I am”这类普通文字不会被误删。Bullets - * + • ◦ ▪ ‣ – — → ✓ ✔ ✗ ☐ ☑ ☒ and the quote marker >; Markdown task boxes [ ] / [x]; numbers 1. 1) (1) 1、 1:; letters a. a) (a); Roman numerals i. iv); Chinese numerals; and circled numbers ①–⑳. Letters and Roman numerals are only removed when followed by a space, so ordinary text such as 'Apple pie' or 'I am' isn't touched.

和“添加项目符号”配合怎么用?How does it work with Add List Item Bullets?

先用本工具去掉旧的符号或编号得到纯文本列表,再用“给列表加项目符号或编号”加上新的样式;也可以直接在那个工具里勾选“替换原有的符号或编号”一步完成。Use this tool to strip old bullets or numbers down to a plain list, then add a new style with Add List Item Bullets, or tick Replace existing bullets or numbers there to do it in one step.

正则模式怎么写?How do I write the regex?

输入匹配前缀的正则表达式即可,工具会自动在前面加上 ^ 只匹配行首,例如 \d+\s*-\s* 删除“12 - ”这类前缀,\[.*?\]\s* 删除“[INFO] ”这类日志标签。默认不区分大小写,勾选“区分大小写”后严格匹配。Enter a regular expression for the prefix; ^ is added automatically so it only matches at the start of a line. For example \d+\s*-\s* removes prefixes like '12 - ', and \[.*?\]\s* removes log tags such as '[INFO] '. Matching ignores case unless Case-sensitive is ticked.

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

「去除列表项前缀(删除项目符号、编号或指定前缀)」在浏览器中直接处理,几 MB 以内的文本通常瞬间完成;文本不会离开你的设备。The Remove a List Item Prefix runs in your browser; text up to a few MB is usually processed instantly and never leaves your device.

「去除列表项前缀(删除项目符号、编号或指定前缀)」免费吗?需要注册吗?Is the Remove a List Item Prefix free? Do I need an account?

「去除列表项前缀(删除项目符号、编号或指定前缀)」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Remove a List Item Prefix 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

🔘 给列表加项目符号或编号(• - 1. a. i.)Add List Item Bullets➕ 批量添加前缀后缀Add Prefix / Suffix to Lines🏛️ 列表转多列(把一列数据排成多列表格)Convert a List to Columns🦋 生成对称列表(镜像回文列表)Create a Symmetric List➕ 列表追加项目(在开头、末尾或指定位置插入)Append Items to a List⬅️ 列表左侧补齐(补零、补空格右对齐)Left-Pad a List🧹 删除连续重复项(合并相邻的重复项目)Delete Repeating List Items📊 列表统计(项数、重复项、长度、数值统计)Print List Statistics🔤 Unicode 转 ASCII(去掉重音、全角转半角、替换特殊符号)Convert Unicode to ASCII🧮 ASCII 表格生成器(CSV 转文本表格)Draw ASCII Table🎲 随机大小写转换(随机 / 交替大小写)Randomize ASCII Case✅ ASCII 校验(检查文本是否只含 ASCII 字符)Validate ASCII

← 全部工具All tools