All About PDF - Your PDF Toolkit

View Original

How To Find and Replace Text in PDF Document with Random Characters

The latest version of All-About-PDF has added the ability to find and replace text in PDF documents with random characters. Here is how to use it:

  1. If you haven’t already, download and install All-About-PDF from here

  2. Open All-About-PDF and then click on the “Replace Txt” button

  3. In the screen that opens, select the PDF file you would like to process

  4. Click on the “+” to add a Find-Replace pair

  5. Enter the word or phrase you would like to find

  6. Define the random word to replace it with as follows:

    1. The definition must start with {{ and end with }}

    2. To generate a random letter between A and Z, enter the letter A

    3. To generate a random letter between a and z, enter the letter a

    4. To generate a random number between 0 and 9, enter the character #

To put this in practice, if you wanted to have a random string that starts with one uppercase letter, followed by two lowercase letters and ends with two numbers, this can be defined as {{Aaa##}}.

Furthermore, you can combine random letters with static ones. For example, to prefix the random word with “007-”, you can simply define the replacement word as 007-{{Aaa##}}.

To get started with using this feature, download and install All-About-PDF today.