Search and Replace in PDF

Content Type: Module
Categories: Tracing

Overview

Search and Replace in PDF  

Description 

Search and replace in PDF refers to the process of finding specific words, phrases, or characters within a PDF document and replacing them with different ones. This feature is designed for PDF manipulation and it is achieved by using PDF.co API. 

Pre-requisites 

  1. An account in PDF.co API Click here to create an account 

  1. PDF.co API Key. 

Configuration 

1. Add your API Key in the Search&ReplaceAPIKey constant 

2. Configure the Comparison overview page in the navigation 

Implementation 

  1. Single replacement- Single text replacement in PDF.co refers to the process of replacing a specific text string within a PDF document with a different text string 

  1. Multiple replacements- Multiple text replacement in PDF.co refers to the process of replacing multiple instances of a specific text string within a PDF document with different text strings 

Result 

Results states that after the search term has been located, the API will replace it with the new text specified in the API call. The replacement may be applied to all instances of the search term, or only to specific instances as specified in the API call. 

 

Supported files 

  • pdf 

Features 

Accurate replacement: PDF.co is a platform that provides a search and replaces API, that API allows you to search for specific text within a PDF document and replace it with new text and allows you to download with the replacement text. 

Limitations 

Some types of documents can’t be compared and may require users to convert to PDF documents to use the API.  

Documentation

PDF-Search-and-Replace

Search and Replace in PDF 

Description

Search and replace in PDF refers to the process of finding specific words, phrases, or characters within a PDF document and replacing them with different ones. This feature is designed for PDF manipulation and it is achieved by using PDF.co API.

Dependencies

Mendix version - 9.6.0

Pre-requisites

1.An account in PDF.co API Click here to create an account

2.PDF.co API Key.

Configuration

  1. Add your API Key in the Search&ReplaceAPIKey constant

  2. Configure the Comparison overview page in the navigation

Implementation

i)Single replacement- Single text replacement in PDF.co refers to the process of replacing a specific text string within a PDF document with a different text string

ii)Multiple replacements- Multiple text replacement in PDF.co refers to the process of replacing multiple instances of a specific text string within a PDF document with different text strings

Result

Results states that after the search term has been located, the API will replace it with the new text specified in the API call. The replacement may be applied to all instances of the search term, or only to specific instances as specified in the API call.

Supported files

pdf

Features

Accurate replacement: PDF.co is a platform that provides a search and replaces API, that API allows you to search for specific text within a PDF document and replace it with new text and allows you to download with the replacement text.

Limitations

Some types of documents can’t be compared and may require users to convert to PDF documents to use the API.

Screenshots

image image image image

Releases

Version: 1.0.0
Framework Version: 9.6.0
Release Notes: **Search and Replace in PDF**  **Description** Search and replace in PDF refers to the process of finding specific words, phrases, or characters within a PDF document and replacing them with different ones. This feature is designed for PDF manipulation and it is achieved by using PDF.co API. **Pre-requisites** 1. An account in PDF.co API [Click here to create an account](https://app.pdf.co/) 2. PDF.co API Key. **Configuration** 1. Add your API Key in the Search&ReplaceAPIKey constant 2. Configure the Comparison overview page in the navigation **Implementation** 1. Single replacement- Single text replacement in PDF.co refers to the process of replacing a specific text string within a PDF document with a different text string 2. Multiple replacements- Multiple text replacement in PDF.co refers to the process of replacing multiple instances of a specific text string within a PDF document with different text strings **Result** Results states that after the search term has been located, the API will replace it with the new text specified in the API call. The replacement may be applied to all instances of the search term, or only to specific instances as specified in the API call. **Supported files** - pdf **Features** Accurate replacement: PDF.co is a platform that provides a search and replaces API, that API allows you to search for specific text within a PDF document and replace it with new text and allows you to download with the replacement text. **Limitations** Some types of documents can’t be compared and may require users to convert to PDF documents to use the API. **Screenshots** ![image](https://user-images.githubusercontent.com/65166401/221828122-81390ad0-c5c4-4bf8-b0ce-8a6f63426ec1.png) ![image](https://user-images.githubusercontent.com/65166401/221828184-2ca7df74-7e82-4e12-8101-4f4fcd9dd6ee.png) **Before Search and replace** ![image](https://user-images.githubusercontent.com/65166401/221828233-1396ced4-a5ab-4f0d-8230-3219b652595a.png) **After Search and replace** ![image](https://user-images.githubusercontent.com/65166401/221828284-33af6422-d21e-4bef-a4ac-dfb67d1ac8ab.png)