You are here: PSPad forum > English discussion forum > Multi-Search

Multi-Search

Goto Page: 1 2 3 4 5 6 Next

#1 Multi-Search

Posted by: maki | Date: 2014-10-02 17:20 | IP: IP Logged

How do I find a few links OR PATH at the same time and add it to a new window? (Multi-Search)

Example:
Add [LIST] Search:

PATH:
1. F:\Folder\Folder\file....
2. C:\......
3....
4..

OR

Links
1. Hxxp : \\ .......
2...
3...

and COPY (result NEW TAB)

Edited 2 time(s). Last edit at 2014-10-02 17:21 by maki.

Options: Reply | Quote | Up ^


#2 Re: Multi-Search

Posted by: pspad | Date: 2014-10-02 17:49 | IP: IP Logged

Use Find/Replace dialog
Write regular expression to find your file or URL
Press COPY button to copy files or links into new file

Options: Reply | Quote | Up ^


#3 Re: Multi-Search

Posted by: maki | Date: 2014-10-03 08:13 | IP: IP Logged

You can not add more than one line !!!
angry smiley

How to add a list of 100 links to search in an open document?

Edited 1 time(s). Last edit at 2014-10-03 08:13 by maki.

Options: Reply | Quote | Up ^


#4 Re: Multi-Search

Posted by: maki | Date: 2014-10-03 08:43 | IP: IP Logged

image

Options: Reply | Quote | Up ^


#5 Re: Multi-Search

Posted by: Stefan | Date: 2014-10-03 10:25 | IP: IP Logged

The trick is to not have a list, but search lines by common pattern.
If you have a list already, why you have to search for?

If you really want to search for literal strings, just learn how to write a script
and use that to parse the file and extract the wanted lines.

Or use a command line tool as SED, AWK or PoSh.

A text editors' search&replace is not the right tool for you.

Options: Reply | Quote | Up ^


#6 Re: Multi-Search

Posted by: maki | Date: 2014-10-03 10:41 | IP: IP Logged

I want to find in a text file (where you saved the file names) specified names!
What is the simplest, best tool you suggest?
No scripts, no combining, only a program.
What program has Muli-Search?

ONLY Search for all file names in a text file.
Not replace
Not edit
No other unnecessary operations on text file

There is in the world any text editor with Multi-Search?

Edited 2 time(s). Last edit at 2014-10-03 10:45 by maki.

Options: Reply | Quote | Up ^


#7 Re: Multi-Search

Posted by: maki | Date: 2014-10-03 10:55 | IP: IP Logged

No command, No Unix(SED) .. I'm not a programmer, I'm a little-advanced user smiling smiley

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

Edited 2 time(s). Last edit at 2014-10-03 11:04 by maki.

Options: Reply | Quote | Up ^


#8 Re: Multi-Search

Posted by: maki | Date: 2014-10-03 11:14 | IP: IP Logged

I'm talking about...Text crawler...

Options: Reply | Quote | Up ^


#9 Re: Multi-Search

Posted by: Stefan | Date: 2014-10-03 12:32 | IP: IP Logged

Quoted to prevent from modifications.

maki:
No command, No Unix(SED) .. I'm not a programmer, I'm a little-advanced user smiling smiley

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.

 

 

 

--
Stefan (pleased user since 1722)
Do you know you can spend Jan a beer? (click here)
Inofficial FAQs + Infos + Special Settings

Options: Reply | Quote | Up ^


#10 Re: Multi-Search

Posted by: maki | Date: 2014-10-03 12:52 | IP: IP Logged

Oh My God. Patern, Regex, Edit, Search and other... This is a toy for preschooler

This solution is complicated and not very fast (if anything is changed multiple times in the list)
I would like to edit something but many times, quickly

I would like the program to have the option "Load List"

image

1. Load List.
2. Find All
3. Done! EASY and extreme fast ??? :D

but it does not work in PSPad so easily, you need the magic option.

Edited 4 time(s). Last edit at 2014-10-03 12:58 by maki.

Options: Reply | Quote | Up ^


Goto Page: 1 2 3 4 5 6 Next





Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR