Regex for Exclude filter

If you have a new question you’d like our support staff to post a response to, please visit our customer community, GoAnywhere Insiders, to pose the question in our Discussion Boards. We have a thread “Ask Our Tech Experts” that our support team monitors on a regular basis, or you can start a new discussion where other GoAnywhere users and support staff can weigh in. Log in or create your new account at https://insiders.goanywhere.com.

If you need an immediate response, please create a support ticket 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