Search

Find Page Number With The Occurrence Of Pattern

Articles

Use this function to find the occurrence of a regex pattern and return the matching value.

Syntax

Find Page Number With The Occurrence Of Pattern (fid, regex_pattern, occurrence)

Parameters

Input Parameter Name Description
fid OutputXmlFID from the Doc reader node
regex_pattern Regular expression to search
occurrence Occurrence of the pattern

Sample

Find Page Number With The Occurrence Of Pattern (ee239b1e-0cf3-4292-8598-803a85f7727d, id=2, 2)

  • Finds the page number on which the pattern ‘id=2’ occurs for the 2nd time in the file ‘ee239b1e-0cf3-4292-8598-803a85f7727d’.

Returns

Return Value Description
Page number Page number on which the pattern is present

To view all the Document functions, click here.

Did you find what you were looking for?