简体   繁体   English

文本板搜索所有正则表达式

[英]Textpad search all regex

Is there a possibility to "search all" in Textpad (or with some other text-editor)? 是否可以在Textpad(或其他文本编辑器)中“全部搜索”?

Because I only want the numbers of addresses: 因为我只想要地址数:

  • StreetTest 98 街头测试98

  • StreetTestB 5A 街道测试B 5A

So I use the search regex: [0-9].*$ 因此,我使用搜索正则表达式: [0-9]。* $

But textpad gives the results one by one. 但是textpad会逐一给出结果。 (and it's a file of 4000 entries...) (这是4000个条目的文件...)

If you can get Visual Studio 2010, it has a Find In Files search option that will return a clickable list of all results (double clicking will take you to the line). 如果可以获取Visual Studio 2010,则它具有“在文件中查找”搜索选项,该选项将返回所有结果的可单击列表(双击将转到该行)。 If you expand the options for the search, it has a place to enter a Regular Expression. 如果展开搜索选项,则可以输入正则表达式。

Solution was: 解决方案是:

EditPad Pro 7 (free trail): EditPad Pro 7(免费试用):

Search => List All Matches 搜索=>列出所有匹配项

Search => Copy Matches 搜索=>复制匹配项

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

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