This topic has been archived. It cannot be replied.
-
枫下家园 / 电脑电信 / 在windows中,如何一次性列出某个文本文件同时包含多个关键字的所有行?用了notepad++,好像只能列出包含其中任意一个关键字的所有行。我目前都是将文件放到linux中用grep命令来查找。先谢谢了。
-stanley(又见枫叶);
2014-10-1
(#9018838@0)
-
有windows版的grep
-wuyg719(wuyg719);
2014-10-1
(#9018845@0)
-
这个就算了,要30美金注册费呢。
-stanley(又见枫叶);
2014-10-1
(#9018875@0)
-
cygwin 不是免费吗?
-hiker2(hiker);
2014-10-1
(#9019032@0)
-
免费的吧,我一直在用
-dldl2001(minglee);
2014-10-1
(#9019167@0)
-
我的笨方法:我会 COPY/PASTE 到 EXCEL 里,然后用这个找: =OR (ISNUMBER(SEARCH("Text1",A1)), ISNUMBER(SEARCH("Text2",A1)),ISNUMBER(SEARCH("Text3",A1))) 。
-meisuowei(/);
2014-10-1
(#9018846@0)
-
你这个太费事,还不如我用notepad++做两次查找,第一次查找所有含第一个关键字的行,在此基础上,再查找所有含第二个关键字的行。
-stanley(又见枫叶);
2014-10-1
(#9018972@0)
-
有个免费软件叫 agent ransack,做全文本search的,挺好用。
-jameszhujian(james);
2014-10-1
(#9018881@0)
-
这个是查找某个目录下含有某个关键字的所有文件,与我的要求不符。
-stanley(又见枫叶);
2014-10-1
(#9018966@0)
-
以前用过一个叫wingrep好像 免费的 好使
-facenorthface(小北);
2014-10-1
(#9018884@0)
-
这个就是第一个回复所介绍的grep for windows,$30。我只是偶尔搜索一下,不值得。
-stanley(又见枫叶);
2014-10-1
(#9018967@0)
-
我用的是免费的 可能每次提示注册之类的 但可以一直用
-facenorthface(小北);
2014-10-1
(#9018971@0)
-
我用的GNU WIN grep不需要注册啊。用了十多年了,几乎没天用
-wangqingshui(忘情水);
2014-10-1
(#9019031@0)
-
notepad++支持regular expression, 应该可以查多个关键字吧
-isup(isup);
2014-10-1
(#9019016@0)
-
这个应该是可以,就是目前不知道怎么用,哪位可以指点一下?谢谢。
-stanley(又见枫叶);
2014-10-1
(#9019125@0)
-
你用grep能查得到的话,notepad++一定也能查得到。你的grep咋查的呢?如果有顺序的话,key1.*key2.*key3.* 记得check 那个regular expression的选项
-isup(isup);
2014-10-1
(#9019132@0)
-
windows自己带了个findstr,虽然没grep强大,还是可以用的
-sweetpotato(阿土仔);
2014-10-1
(#9019216@0)