Affinity Publisher: Type Fixer

This utility generates Regular Expressions (Regex) specifically optimized for Affinity Publisher 2Affinity Designer 2, and Affinity Photo. While Adobe InDesign users often refer to this functionality as GREP, Affinity uses standard Regex syntax in its Find and Replace panel.

Affinity Preposition Fixer

1. Initial Setup

1

Open Find & Replace

Window > Find and Replace Cmd+F

2

Enable Regex

Click the icon and select Regular Expression

2. Generate Codes

$1
NBSP ?
Click the arrow (▼) inside the Replace field > Special Characters > Non-breaking Space

The Problem: In typography, leaving short prepositions (like „in“, „on“, „at“) or single-letter conjunctions at the end of a line is considered poor form. These hanging words disrupt the visual flow of the paragraph.

The Solution: This tool creates a precise search pattern to identify these words when they are followed by a normal space. The replacement pattern keeps the word but replaces the standard space with a Non-Breaking Space (NBSP). This „glues“ the preposition to the following word, ensuring they always wrap to the next line together, creating a cleaner and more professional layout.