Clarification
-
- Is it possible to copy some text from one file of a particular folder to a file in another folder? What if both files are in the same folder?
- Is it possible to replace the heading on top of a file/webpage with what is in the footer for multiple files of a folder?
-
@dr-ramaanand said in Clarification:
Is it possible to copy some text from one file of a particular folder to a file in another folder? What if both files are in the same folder?
Is it possible to replace the heading on top of a file/webpage with what is in the footer for multiple files of a folder?#2 is quite easy, especially with a regular expression. You would use the “Find in Files” function. By selecting the different portions (3 groups with #1 the header, #2 the middle and #3 the footer,) in each file and then swapping/replacing portions (write back #3, then #2 and lastly #3 again if that’s what you want) you would have the result you want.
#1 would require a lot more work and would likely be performed using some program code, such as PythonScript. That is because you are working with 2 files at a time and regular expressions only work with 1 file at a time. However since you haven’t given much detail I could ask, why wouldn’t you just do that manually? Open both files side by side. Copy and paste between them.
Terry
-
@Terry-R said in Clarification:
Open both files side by side. Copy and paste between them.
Thanks a lot @Terry-R
I will follow both your suggestions