My Day✳All blog articles ↗

Limit a replacement to the intended occurrences

Check each match's object and role before changing repeated text.

The same text can be a current label, part of another identifier or a historical quotation. Define the agreed scope before editing. Matching characters do not establish the same role. Decide for each occurrence, then check the result against the original.

3 occurrences checked; 1 changed; 2 preserved
3 occurrences checked; 1 changed; 2 preserved

What to do

  1. List the found occurrences and label their roles.
  2. Mark which uses fall within the agreed change and which must remain.
  3. Make the selected edits and verify both changed and preserved occurrences.

Example

Fictional text has 3 occurrences: current Room A, separate Room AB and historical quoted Room A. Only 1 replacement is agreed: current A becomes C. Result: Room C; Room AB; quoted Room A. The other 2 occurrences remain, preserving their meaning.

My Day · Windows

In My Day, manually save the edit scope and comparison result.

Buy My Day for Windows ↗