Replace Post-processing Function

Replace Post-processing function can be used in agents to replace some text with another in extracted field result. For example, I have this scraping agent “Replace Function Example(Post-Processing)” in my account. And I want to replace the $ symbol with USD from the ProductPrice field in each row. So, I can use the built-in Replace post-processing function here.


  1. Edit the scraping agent by clicking on the Edit tab

  2. Go to the field ProductPrice and click on the Edit field button

  3. Now, click on the Add Post-processing button to add the Replace function, the below dialog box will appear

  4. Now, enter the text you want to replace in the ReplaceWhat parameter the old value (which needs to be replaced)

  5. Then enter the text you want to replace with in the ReplaceWith parameter the new value

  6. Then, Save the function and the scraping agent configuration

  7. And finally, re-run your agent to apply the changes.

After Replace Function

If you notice the screenshot below, the field ProductPrice is updated by the Replace Post-processing function.

Signup now to get 100 pages credit free

14 days free trial, no credit card required!