The Regular Expression Test sample

 

The Regular Expression Test utility included in the API – Resource Toolkit and can be downloaded through the www.blackice.com website for free. The utility provides an easy solution for developers to test and write regular expressions for the content based barcode printing without using the Black Ice Printer Driver. The main advantage of this sample over the thousands downloadable regular expression test tools from the web is that the utility is using exactly the same ECMA script language as the Black Ice Printer Driver to ensure the developers that the regular expression will work properly in the Black Ice Printer Driver.

 

 

To test your regular expression print the document to the Black Ice Printer Driver with Extract text to File option checked under the File Formats tab. The Printer Driver will generate a text file contain the extracted text from the document into the Output folder.

 

Paste the extracted text into the Text area, the content from regexp.txt into the Regular Expression area and the content from regexpformat.txt into the Format area in Regular Expression Test sample. The Result area will automatically refresh where the user can see the result of the regular expression script.

 

Requirements;
.NET Framework 4.0

 

Download Black Ice Regular Expression Test utility

For more information about regular expression please see the following link; http://msdn.microsoft.com/en-us/library/bb982727(v=vs.110).aspx