Quoted to prevent from modifications. maki: -------------------------------------------------------------------------------- No command, No Unix(SED) .. I'm not a programmer, I'm a little-advanced user :)
how to find at the same time 4000 different names in a text file, and copy full names? Tutorial ... The list is very long, a shortened version of the sample ADD LIST FIND NAMES ebc61d96.jpg e_c3c220ff.jpg e_cbd3a91e.jpg The list is very long, a shortened version of the sample D:\NAZWA\FOLDER GDDV\20000928750_0\e_c32cd4f8.jpg N:\1\Polska RYSUNKI ALL!!\20000928750_0\e_c3c220ff.jpg N:\1\GHYTFD RYSUNKI \20000928750_0\c4f78365.jpg N:\1\Polska RYSUNKI ALL!!\20000928750_0\e_cbd3a91e.jpg N:\GGG\20000928750_0\e_d3052105.jpg N:\1\Polska RYSUNKI ALL!!\20000928750_0\e_d8b31c7b.jpg N:\1\Polska RYSUNKI ALL!!\20000928750_0\ebc61d96.jpg EXAMPLE: Result ALL Find: N:\1\Polska RYSUNKI ALL!!\20000928750_0\ebc61d96.jpg N:\1\Polska RYSUNKI ALL!!\20000928750_0\e_c3c220ff.jpg N:\1\Polska RYSUNKI ALL!!\20000928750_0\e_cbd3a91e.jpg -------------------------------------------------------------------------------- At least you provide now some usable examples, fine! That can be done with PSPad and 'OR'ed RegEx pattern, but need some work on your side, and will not work for a very long list of search pattern, but for a few only (you have to test how many will work) Steps: _Manipulate your "ADD LIST FIND NAMES" list_ ebc61d96.jpg e_c3c220ff.jpg e_cbd3a91e.jpg 1.) by adding "^.+" at begin and "$|" at the end of each line. Use "Edit > Lines Manipulation > Insert Text into Lines..." Begin: ^.+ End: $| 2.) Next, join this lines together: Select all lines. Use "Edit > Lines Manipulation > Join Lines" 3.) Clean up that line by removing the extra added space from the joining: Search: ^ | Replace: ^| [_]RegEx disabled . _Now use this line as RegEx search pattern on your text file:_ Search: ^.+ebc61d96.jpg$|^.+e_c3c220ff.jpg$|^.+e_cbd3a91e.jpg$| [X]RegEx enabled Press the [Copy] button. _Done!_ . That above works for your provided examples. If this will not work for you, read a good RegEx tutorial, or go searching for a better tool to suit you. -- greets, Stefan [img]http://pspad.milten.lima-city.de/Fan.gif[/img] (pleased user since 1722) [url=http://tinyurl.com/52xrj]inofficial FAQs[/url] + [url=http://forum.pspad.com/read.php?2,16286,page=2]Infos[/url] + [url=http://forum.pspad.com/read.php?6,24628]Special Settings[/url] <http://forum.pspad.com/read.php?2,63366,63378> PSPad freeware editor http://www.pspad.com