Skip to content

Finding and Replacing Text#


You are reading documentation for Twine 1. This is maintained for archival purposes only.

The Quick Find field in the story map's toolbar caa be used to find passages whose text matches what is entered. These will turn yellow. Use the window icon on the right side of the search field to bring up a fuller-featured dialog box.

The Find and Replace Dialog#

Typing text into the Search For field will instantly show a list of matching passages. To see the exact match, use the plus sign icon beside a passage name. Quickly show and hide match detail with the icons beside the Replace All button.

Below the search field are a few options:

  • Include passage names: performs the search on passage names as well as their text.
  • Match case: requires matches to have the same mix of uppercase and lowercase letters.
  • Regular expression: interprets the search field as a regular expression.

To replace the text being searched for with something else, enter it into the Replace With field. Use the Replace All button to do all replacements at once, or use the Replace in Passage link that appears when pointing at a passage with the mouse, or tapping it on a touch-based device, to perform the replacement in a single passage.

When done, close the Find and Replace dialog with the close button in its upper-right corner or by pressing Escape.