Contents
- Index
Regular Expression Filter
(Web Home)
When the Amplios Document Filer processes each document, it will search for a bar code. If a bar code is found, the information in the bar code is used to rename and file the document. For example, a document named upca.pdf is processed and a bar code is found. The program will report the following in the on-screen and saved logs:
COPIED: C:\Users\Dick\Documents\Amplios\Scanned\upca.pdf to C:\Users\Dick\Documents\Amplios\Scanned\Originals\upca.pdf
BAR CODE FOUND:
Data: (NSC 0) Manufacturer: 30100; Product: 03566
Symbology: EAN-13
Type: UPC-A
Descriptor: Regular UPC code - USA and Canada
C:\Users\Dick\Documents\Amplios\Scanned\upca.pdf filed as C:\Users\Dick\Documents\Amplios\Scanned\Filed\(NSC 0) Manufacturer_ 30100; Product_ 03566.pdf
You can see the bar code information after "Data : " has been used by the program to rename the and file the document. The colon ":" character in the data has been replaced with an underscore character in the renamed file because colon characters are not allowed as part of a file name by Windows. This will happen with any characters in the bar code data that are not allowed in file names. The characters that are not allowed are:
\ / : * ? " < > |
However, it may be that you would prefer to only use the product code in the data to rename the file. If so, your renamed file would be "Product_ 03566.pdf" instead of "(NSC 0) Manufacturer_ 30100; Product_ 03566.pdf". You can get the Amplios Document Filer to do this renaming for you using a Regular Expression. The regular expression you would enter to get this done would be:
(Product: )[0-9]+
A full discussion of Regular Expressions and how to create them is beyond the scope of this help file. However, you can find all the resources you need to learn about, create and test Regular Expressions at regexpal.com
Below is a simplified table explaining the major character sets used in formulating Regular Expressions. The way you should approach this is to select a set of test documents to process with the Amplios Document Filer to make sure that the program can find your bar code. The bar code data that the program is using to rename the document will be reported to you in the on-screen and saved logs after "Data : ". You can then create a Regular Expression and test it at regexpal.com to be sure it filters the bar code data to meet your requirements. When you have created and tested your expression, you can enter it in the folder set setup as illustrated above. Once you have entered your Regular Expression in the program, you should test it with a set of documents to be sure that it is working correctly.
If you really need to create a Regular Expression filter but you just can't seem to get it right, please contact us for help.