Last Updated: Dec 28, 2022
Use this function to find the page number of the occurrence of the text matching a regex pattern.
Find Page Number With The Occurrence Of Pattern (fid, regex_pattern, occurrence)
Input Parameter Name | Description |
---|---|
fid | OutputXmlFID passed from the Doc Reader node |
regex_pattern | Regular expression to search The regular expression must be in Python. To know more, click here |
occurrence | Occurrence of the pattern |
Return Value | Description |
---|---|
Page number | Page number on which the pattern is present |
Find Page Number With The Occurrence Of Pattern (FID, www.[A-Z]+\.(\.?[A-Z]+)+, 2)
The occurrence is considered only when the keyword has an exact match in the document.
To view all the Document functions, click here.