正则表达式包·免费
文本清理用正则
用“全部替换”整理文本的 21 个模式:行尾空格、缩进、重复的空格、单词和行、多余的空行、CRLF、制表符、弯引号、不可见字符和 HTML 标签。其他的可以遮盖邮箱和 IP,或把列表的每一行加上引号。
免费安装。
如果你的 Android 设备上装了 PocketCode,这会在应用里打开此页面。
预览
21 个中的 3 个
(?m)(?<![ \t])[ \t]++$()Remove trailing spaces and tabs
(?m)^[ \t]++()Remove indentation (spaces and tabs at the start of lines)
(?<=\S) {2,}+(?=\S)Collapse runs of spaces inside a line (keeps indentation)
1.0.0 的变更
首个版本。