August 21st, 2013, 10:56 AM
Join Date: Aug 2013
Time spent in forums: 21 m 14 sec
Reputation Power: 0
Regex for Clientbackup
as a part of a Java Client Backup Project I need a Regex command.
I want to exclude folders from the backup by Regex.
Excludes like that are working fine:
(?i).:/Program Files \(x86\)/.*
Now I search a Regex that excludes all folders of a drive except c:/Users/*
I tried (?i).:/!(Users)/.* but this ist not workink.
I also read a tutorial but didn't get informations about "all, but one not".
One more examble:
c:/Program Files/ >> match
c:/Program Files/folder1 >>match
c:/Users/ >> no match
c:/Users/User1 >> no match
Would be perfect if someone can help me.