Trailing spaces embedded in barcode

To trim trailing spaces from scanned item codes, make the following changes on the Panatracker portal:  

In the System Settings -> Barcode Control panel:
   a)  Set the Enable Regex Features setting to TRUE.
   b)  Enter the following in the Data Pattern Item Field setting   (.*\S)[ ]*$
   c)  Restart the handhelds to accept the above change, then confirm that the trailing spaces are removed in the relevant transactions.

Similar Regex patterns can be used to parse or trim data from other fields.  

Was this helpful?