Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

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

share|improve this answer

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");


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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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