Connect HomeMarketplaceComponents The Silicon Partners - Regex Split PDF

The Silicon Partners - Regex Split PDF

Snippet

Snippet

Updated: October 23rd, 2020

Published: July 1st, 2020

Downloads: 16

Industry: cross-industry

Language compatibility: Visual Basic

Community Support

The Silicon Partners - Regex Split PDF

Snippet

Summary: 

Builds upon the basic functionality of UiPath’s PDF splitter tool using a regex pattern to determine page splits

This workflow takes a user defined regex expression as well as a file path of the PDF to be worked on. The workflow searches each page of the given PDF file. If a match is found, the PDF document is split with the first page containing the found match. This process continues through the PDF document until it reaches the last page. The user can also opt to delete the original file after splitting.

The output of this program if the regex pattern is found will be one or more PDF files in the specified output path (or in the original path if no output is specified). The files when split will be named as follows: YourFileName_1.pdf, YourFileName_2.pdf exc. for all splits located in the PDF.

Details

Benefits

- Pre-built system for splitting PDF files. Instead of using page ranges, uses a regex expression to split files.

- Lots of flexibility

Can delete original file after split

Accepts pdf passwords if needed

Allows user to rename and move the split files

Compatibility

Built on UiPath Studio 2020.4.1

Dependencies

UiPath.PDF.Actvities v3.2.2
UiPath.System.Activities v20.4.0
UiPath.UIAutomation.Activities v20.4.1

Resources

- README_Regex_Split_PDF.pdf

Licensing

By clicking download you agree to the following license.