Find and replace

You can search text for as little as a specific character or for long, complex phrases. Search terms and replacement text can include inbuilt or custom fields, and you can specify formatting that must be applied to existing text or that you wish to apply to its replacement. You can even search for patterns in text by using regular expressions.

Edit Menu To use Find and Replace:
  1. On the Edit menu, select Replace.
  2. Formatting Tap Formatting. At the top of the pop-up menu, select the Scope to search: Document, Section, Spread, Page, Story or Selection. A selection can be a text range or one or more text objects.
  3. Do one of the following:
    • Find Replace To find text: Type the text to be found in the pop-up Find box and its replacement text (if any) in the adjacent Replace box.
    • Formatting Format To find formatting: Tap Formatting and then select the currently applied formatting at the bottom of the pop-up menu.

      On the dialog that appears, use the Style category to specify a paragraph and/or character style to find, or use the other categories to specify other text formatting to find.
  4. Tap Replace or long press for Replace All. The former will jump to the next found instance in the selected scope. The latter replaces all instances in the selected scope.

Regular expressions

Regular expressions extend the capabilities and power of the Find and Replace function beyond searching for simple text strings. They are widely used across the word-processing and DTP community, with a multitude of expressions available. As a result, listing regular expressions and their syntax is beyond the scope of Affinity Publisher Help. Please use Internet resources to research and develop your own regular expressions including www.regular-expressions.info and regexone.com.

Formatting To use regular expressions:
  1. Tap Formatting and enable Regular Expression and additionally Locale Aware if needed. Single Line Mode and/or Dot Matches Paragraph Break options exist for the former.
  2. Enter a regular expression into the Find box.

SEE ALSO: