I would like to copy line in text file edit it on the fly to replace all / to | and paste in on the same line in the same line.
I have the first line in the text file:
Copy text between (name-never-changes) and .jpg
Change to / to |
And add to the end of the same line where URL is, with a separator the separator can be text or number or special character
http://webpage.com/(name-never-changes)/aCcboeasdfdRD/asdfasdft21.jpg (separator) |aCcboeasdfdRD|asdfasdft21
And this should work with multiple text files with different URLs
I can't create new files and merge them this should be on the fly because the name of text files are different and I don't know filenames