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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login