Stirling PDF icon

Stirling PDF

Merged API: Stirling PDF - Processing API + Stirling PDF - Management API + Stirling PDF - System API

Actions260

General → Edit Text

AI-generated

Summary

Edit text within a PDF file on specified pages by applying ordered find-and-replace operations.

Inputs

  • Input Binary Field Name (File Input) — Name of the binary property containing the PDF file data to be edited.
  • File Id — Identifier of a server-side PDF file previously processed, used instead of direct file input.
  • Page Numbers (required) — Pages to select for editing; supports specific pages, ranges, 'all', or arithmetic sequences like '2n+1'.
  • Edits (required) — Ordered list of find-and-replace text operations applied sequentially on selected pages.
  • Whole Word Search — Flag indicating whether to match only whole words when searching text to replace.

Output shape

a single binary PDF file with text edits applied

Returns the modified PDF binary data; input can be from a binary file property or a server file ID; editing applies only to specified pages and respects the ordered edit operations.

Links

Discussion