Skip to main content

Find and replace across a course

Change a term everywhere in one go, such as a renamed system or a new job title, without opening every section.

Written by Seb Hefel

Something gets renamed: a system, a team, a job title, a form. It appears in nine places in a course and you are not sure which nine. Find and replace handles it in one pass.

Open it with More › Find and replace or ⌘⇧H.

Find

Type the word or phrase under Find. The dialog searches every section of the course in the language you are editing and shows {n} matches in {n} places, with each place and the text around each match. Click a place to jump to it.

  • Match case: off by default, so “Helpdesk” and “helpdesk” are both found. Turn it on when the capitalisation matters, for example to find IT without catching “it”.

  • Whole word: stops “form” from matching inside “information”. Worth turning on more often than not.

  • Also in module and section titles: on by default. Titles are where an old term is most visible.

Replace

Type the new wording under Replace with and click Replace all {n}. Leaving Replace with empty deletes the text that was found.

What it does not touch

  • Links and images are never changed. A renamed system often has a new web address too; change links on purpose, not by search.

  • Quiz questions are not searched. Check the quiz separately.

  • One language at a time. If the course exists in several languages, run it once per language; the term is different in each anyway.

You can undo it

The whole replacement is saved as one version, labelled for example Find & replace: “IT” → “the Service Desk”. If it went wrong, go back to the version before in Versions: comparing and restoring, instead of fixing every place by hand.

Two habits that save trouble

  • Read the count first. If you expected nine and it says forty, your term is matching inside other words. Turn on Whole word or Match case and look again.

  • Read the sentences afterwards. Replacing a word can leave the sentence around it a little off, for example “a” in front of a word that now starts with a vowel.

Did this answer your question?