Knowledge Base & Discussion Forum

Help with regex to exclude only first directory found. Do not parse the tree

Past technical discussions on Ahsay's Products

Moderator: Support Team

Help with regex to exclude only first directory found. Do not parse the tree

Postby racassel » Mon Mar 11, 2013 4:43 am

Hello, I am needing some help with a regex expression.
I would like to exclude all Templates directories in c:\users\*\
(\users\Ringo\Templates, \users\Paul\Templates, \users\John\Templates)
I do not want to exclude the Templates directory in C:\users\Ringo\appdata\roaming\microsoft\templates.

Just the first templates directory (junction point) to be excluded.
I tried a few combinations using ^ and ? and don't seem to be getting anywhere.
Can you suggest an expression that would accomplish this?
racassel
 
Posts: 445
Joined: Tue Nov 25, 2008 9:23 am

Return to Archived - Technical Discussions

Who is online

Users browsing this forum: No registered users and 4 guests

Looking for Rbackup Alternative | Vembu Alternative | Novastor Alternative | Asigra Alternative | BackupAgent Alternative? Try our product.


A wholly owned subsidiary of Ahsay Backup Software Development Company Limited  [HKEx Stock Code: 8290]