Remove Post-processing function can be used in agents to remove some text from extracted field result when we exactly know the start index and the number of character needs to be removed. For example, I have this scraping agent “Remove Function Example(Post-Processing)” in my account and I want to remove the text as Product from the field ProductName in each row. So, I can use the built-in
Remove Post-processing function here.
Edit the scraping agent by clicking on the Edit tab
Go to the field ProductName and click on the Edit field button
Now, click on the Add post-processing button to add the
Removefunction, the below dialog box will appear
Now enter the numeric values in the startIndex parameter (The StartIndex should be zero-based position to begin the deleting of characters)
Then enter the numeric value in Count parameter.(The Count should be number of character to delete)
Then Save the function and the scraping agent configuration
And finally, re-run you agent to apply the changes.
After Remove Function
If you notice the screenshot below, the ProductName field is updated by the
Remove Post-processing function.