PSIcapture Scripting How-to: Example Character Filtering for Table Extraction

Character Filtering for Table Extraction can be done using the script below:


dataRecord["Field"].Value = dataRecord["Field"].StringValue.Replace(".", "");

dataRecord["Field"].Value = dataRecord["Field"].StringValue.Replace("\"", "");

return valid;


This can be entered in the DocumentDataRecordValidated section of scripting. In this example it is removing quotation marks and periods. You can continue to add lines for specific characters you want to replace and for what datarecord field it needs to be applied to. 

Was this article helpful?
0 out of 0 found this helpful



Please sign in to leave a comment.