Regex for Exclude filter

Post any question you may have in regards to GoAnywhere MFT and let our talented support staff and other users assist you.
If you need a quicker response, please create a support ticket via the customer portal my.goanywhere.com or contact our support team by email at [email protected].
2 posts Page 1 of 1

merio

Posts: 1
Joined: Sun Oct 29, 2017 12:23 pm

Post by merio » Mon Mar 18, 2019 11:05 am
I have a create file list I am using and cannot get the regular expression to work for paths I want to exclude.

We have several folders I want to exclude that contain the names moved,archive,complete

For the File Monitor I have tried to use the exclude statement
.*(moved|archive|complete).*
paths are like:

\\server\share\folder\moved\1.txt
\\server\share\folder\complete\1.txt
\\server\share\folder\folder1\1.txt

I just want the create file list to include the last entry

But that does not work, but it does work when I test on one of the regular expression web sites.

Support_Julie

User avatar
Support Specialist
Posts: 91
Joined: Thu Mar 05, 2009 3:49 pm
Location: Ashland, NE USA

Post by Support_Julie » Mon Apr 22, 2019 2:40 pm
Our documentation does have a few examples, but there a link that has more information for regex.

https://docs.oracle.com/javase/7/docs/a ... ttern.html

I would look at the ^ carrot. And also, you may need to use quotes or double quotes around the word “moved”
[abc] Any character except a, b, or c (negation)
X|Y Either X or Y
Julie Rosenbaum
Sr Support Analyst
e. [email protected]
p. 1.800.949.4696
w. HelpSystems.com
2 posts Page 1 of 1