Validating a barcode regex identifier

For illustrative purposes, the following procedures use two of the several regex validators available online. It is possible to use different regex validators, but make sure to always use one that supports regex in Java 8.

To validate your barcode regex identifier, do the following:

  1. Go to https://regex101.com/.

  2. In the left panel, under the category Flavor select Java 8.

  3. On the top of the page, type or paste your barcode identifier in the field Regular Expression.

    The syntax of your barcode identifier is automatically highlighted with different colors matching the constructs' different meanings.
    In the right panel, expand the Explanation category to view a detailed explanation of which type of data each regex construct matches.

    Expand the Quick reference category to view a glossary of basic regex construct.

 

To get a visual representation of your barcode regex identifier, do the following:

  1. Go to https://regexper.com/.

  2. In the text field, type or paste your barcode regex identifier.

  3. Click Display.