Advanced Configuration : Using File Folder Listener Service : Checking Your Regex Include/Exclude Patterns
 
Share this page                  
Checking Your Regex Include/Exclude Patterns
We recommend that you test your include and exclude patterns using this tester: https://www.regextester.com/
Ensure that you test the entire test string. For example:
Test String: myfile.txt
Expression: .txt$
This file would not be picked up because the regex only matches the ending string and not the entire file name; only .txt would be highlighted as a match. If you try .*txt$ as the regex, the entire file name will be highlighted, and that file will be picked up by the File Folder Listener Service.