Is there any way to replace one letter from found character string?
Found:
P0232323322
Should be found
PO232323322
I know that this should be done in Capture but I dont have access
Found:
P0232323322
Should be found
PO232323322
I know that this should be done in Capture but I dont have access
Comments
5 comments
You are correct the replacing is suppose to happen on the FlexiCapture side. FlexiLayout only finds the region. That is the only thing that is passed back to the FlexiCapture to OCR is the region or coordinates of what to capture.
you can write a rule script for that field
for example in in rule settings of that field you can write something in c# as below
if (Context.Field("FIELDNAME").Text=="P0232323322") Context.Field("FIELDNAME").Text="PO232323322";
or
you can replace the text using built in AutoCorrect options for that go to properties of the field > AutoCorrect options> Edit>replace text > edit and do an exact match .
well it really depends on your requirements .
If the problem is something like the 'P0' / 'PO'
You can easily deal with this in the field properties
Right Click the field and choose Properties, then Choose the Data Type tab, then click (Edit) AutoCorrect options:, then Character Replacement.
Put 'PO' in the Replace box and "P0' in the with box. Then choose the Where box as it best fits your needs.
You might also look at the Replace Text option on the same tab.
There are all sorts of things that can be easily done in the AutoCorrect Options.
Hope this helps...
Please sign in to leave a comment.