需求描述 我有类似的文本 count count_l24 count_l32 count count count 我需要逐行替换l24,l32所在行,其他行保留。 步骤 替换的时候找到正则表达式的选项 输入: ^.*_l.*$ 替换为空行就行.