2

There doesn't seem to be such a built-in feature.

Copying the entire page into some other app (web or desktop) for replacing text causes partial loss/distortion of formatting when pasting the content back.

1

Go into HTML mode, copy the HTML to a text-editor (notepad or suchlike) and do the change there.

| improve this answer | |
0

This can be done by running the following appscript via https://script.google.com/ :

function searchAndReplace() {

  page = SitesApp.getPageByUrl('https://sites.google.com/....');
  var html = page.getHtmlContent();
  html = html.replace(/old/, "new");
  page.setHtmlContent(html);

};

Obviously, you should replace old and new with your own strings.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.