Checking session
Back to Help
Back to workspace
Task recipes

Find and replace

Search manuscript text, blocks, inline items, and repeated spacing with literal or regex matching.

The manuscript find window searches the selected manuscript without leaving the editor. Use Find Text for normal navigation, Replace Text when you want to edit matching text, Find Blocks to locate block types or targets, and Find Inline to locate inline audio, math, or image items.

Literal search is the default. Spaces are part of the search text, so typing two spaces finds two adjacent spaces. To clean repeated spacing, search for two spaces and replace with one space, then repeat until there are no results.

Turn on Regex only when you want a regular expression. For example, search for {2,} and replace with a single space to collapse every run of two or more spaces. Enter the pattern without surrounding slashes; Match case controls the case-insensitive flag.

Whole word checks the boundaries around the whole literal match or the whole regex match. It is useful for words, but usually should stay off for spacing cleanup.

In regex mode, replacement text supports JavaScript replacement tokens such as $& for the whole match, $1 for a capture group, $<name> for a named group, and $$ for a literal dollar sign. In literal mode, replacement text is inserted exactly as typed.

Use Replace all carefully on long manuscripts. Run a narrow search first, review the result count, and save large cleanup passes as separate edits so they are easier to inspect.