The Softek Barcode Reader SDK and our BardecodeFiler Windows application both use ‘regex’ pattern matching for matching barcode values. We often get asked advice on how to build a regex so we thought a short guide to the basics might be useful. Here is a simple example: ^\d{5}$ So let’s break it down: ^