Hi @frob ,
I would suggest using Power Automate.
There are a lot of search/replace functions available.
Here's a quick example, but a google search will bring up much more.
power-automate-replace
Hope that helps.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi there
Is there a PowerShell script to edit a document on SharePoint online, so we replace $string1 with $string2?
The document can be an Office document or a text file or a PDF.
Thank you.
Hi @frob ,
I would suggest using Power Automate.
There are a lot of search/replace functions available.
Here's a quick example, but a google search will bring up much more.
power-automate-replace
Hope that helps.
Hi @frob ,
According to your description, your requirement is more related to the "Get File Content" action of Power Automate. Therefore, we suggest that you can go to the Microsoft Power Automate Community for professional help.
Thank you for your support and understanding.
Thanks,
Yanli Jiang
===========================================
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.