bardecode.com
barcode reading software
  • Home
  • Download
  • Purchase
  • SDK Licensing
  • Pricing
    • Windows SDK Price List
    • Windows SDK with PDF Extension Price List
    • Linux SDK Price List
    • Linux SDK with PDF Extension Price List
    • PDF Extension For Windows Price List
    • Multi-Platform Toolkit for .NET Price List
    • BardecodeFiler Desktop Only Price List
    • BardecodeFiler Windows Service Price List
    • DOS Command Prompt Barcode Tool Price List
    • Terms and Conditions
    • Refund Policy
  • Products
    • Softek Barcode Reader Toolkit for Windows
    • Softek Barcode Reader Toolkit for Linux
    • BardecodeFiler Desktop App
    • BardecodeFiler Windows Service
    • Windows DOS Command Prompt Tool
    • Multi-platform barcode reader toolkit for .NET
    • Aquaforest’s Autobahn DX
  • Knowledge Base
    • Documentation
    • Specifications
  • News
  • Contact
    • About Us
    • Terms and Conditions
    • Resellers
    • Links
Select Page ...

News

Handling multi-line QR Codes in BardecodeFiler

admin April 14, 2021 BardecodeFiler, Knowledge Base

If you are processing multi-line Qr Codes in BardecodeFiler (the same could apply to PDF-417 or DataMatrix barcodes) and want to extract certain lines of data to create the output file name then you will need to use the Reformat feature of BardecodeFiler.

The Reformat feature allows you to use the power of regular expressions to chop up and rearrange data as you wish. The reformat table uses a regular expression on the left hand column and a formatting expression on the right.

Assuming that your lines are terminated by carriage return new line pairs then the following regular expression will match 1 line from your data:

(.*)\r\n

So if you data contains 4 lines then you should enter the following on the left hand side:

(.*)\r\n(.*)\r\n(.*)\r\n(.*)\r\n

On the right hand side you can then pick out and arrange the lines of data as you wish. For example, to use line 3 followed by line 2:

{3}{2}

Note that you can make your regular expression much more complex if you wish and extract only parts of lines if you wish.

There’s usually no need to change the output template from the default when doing this.

← Additional BardecodeFiler Services
How to enter your VAT number with ShareIt! →
admin

  • Copyright © 2023 Softek Software Ltd. All Rights Reserved