简体   繁体   English

如何在记事本++中删除这些行

[英]How to remove these lines in notepad++

I would be very glad if someone help me with this:如果有人帮助我,我会很高兴:

I have a list like this :我有一个这样的列表:

44444444444:teste73
33333333333:254273
22222222222:7t2e2s
11111111111:111111
teste@yahoo.com:11111111111
teste@yahoo.com:22222222222
teste@yahoo.com:teste@yahoo.com

I would like to remove lines with alphanumeric after : without removing the :我想在 : 之后删除带有字母数字的行而不删除 :

result must be like this:结果必须是这样的:

33333333333:254273
11111111111:111111
teste@yahoo.com:11111111111
teste@yahoo.com:22222222222

All numeric text before : is not removed! : 之前的所有数字文本都不会被删除! only remove if numeric is after :仅在 numeric 之后才删除:

I tried something like this [\u\l\s\.*::] but didn't work well.我试过这样的东西[\u\l\s\.*::]但效果不佳。

Thank you so much太感谢了

You can use menu => Search => Mark , select "Bookmark line", "Wrap around" and "Regular expression".您可以使用 menu => Search => Mark ,选择“书签行”、“环绕”和“正则表达式”。 Put :.*[az] into "Find what" and click "Mark all".:.*[az]放入“查找内容”并单击“全部标记”。 Expect to see blue blobs at the left of all lines that should be deleted.期望在应删除的所有行的左侧看到蓝色斑点。 Use menu => Search => Bookmark => Remove bookmarked lines .使用菜单 =>搜索=>书签=>删除书签行

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM