#11064

Deipotent
Participant

I think you still mis-understand me slightly. Although I gave the example URL as http://server.com/123/321 , the “123” and “321” parts are different with each URL. For example, a few URL’s might be (NOTE: the URL’s may be embedded within a load of other text, rather than them being one per line):

http://server.com/123/321 
http://server.com/744/822
http://server.com/378/433
http://server.com/656/098

and I want to extract them as

http://server.com/321/123
http://server.com/822/744
http://server.com/433/378
http://server.com/098/656

So, I would use a find expression of:

http://www.emeditor.com/(d{3})/(d{3})

and use the following Replacement Expression to extract the text to a new line:

http://www.emeditor.com/2/1n

IF incremental searching was enabled along with Output Bar, all the results would appear in the Output bar (one result per line), updating as I type the find/replacement expressions. To create a new document with all matches, I would click the “Extract All” button on the Find dialog.

This would not be possible with multiple selection editing you mention.

Plus, I don’t particularly want to modify the original document/text, but instead just find all text matching a pattern and extract the replacement.