HomeUsing Find and Replace To Edit OutlinesExamples Of Regular Expression FindsArranging Outlines
  PDFClerk Pro > Outlines > Editing Outlines > Using Find and Replace To Edit Outlines Index

Auto-Incrementing Number Replacement:

Allows the insertion of numbers that increment/decrement by a fixed value on each subsequent outline item that matches the regular expression in the Find field. Although it looks like regular expression syntax this is not a regular expression, yet it is only available when regular expression is enabled in the dialog and the action is Replace All. Only the first appearance of this syntax will be used for the replacement value. If you enter this syntax multiple times it will insert the value of the first occurrence multiple times.

Use the syntax $[n1,n2] in the Replacement field to insert the numbers; n1 is the starting number, n2 is the increment value. To decrement use a negative value.

Example:
$[108, -2] will insert the number 108 at the first match, 106 at the second match, etc.

To add a line number at the start of each outline entry you would use ^ as the entry in the Find field, and $[1,1]  (note the trailing space) as the entry in the Replacement field.


Copyright © SintraWorks
Last updated on June 22, 2015

HomeUsing Find and Replace To Edit OutlinesExamples Of Regular Expression FindsArranging Outlines