-
October 26th, 2012, 01:08 PM
#1
RegEx driving me nuts - help needed
Hi
I am no expert in regular expressions - and have for hours tried several things in order to solve my problem without any luck....
I need a Regular Expression, that will match all files in a specific folder - except those ending in ".pst" ... And it must only match in the specified folder, not if a non-pst file exists in another folder..
MS Outlook default places PST files in c:/users/username/AppData/Local/Microsoft/Outlook/ - so the path must match ".*/Users/.*/AppData/Local/Microsoft/Outlook"
The files in that folder could be named:
Code:
Test.pst
user.name@domain.com.ost
test.local.pst
In this case, the two files with the PST extension should not be listed/matched - but the file ending in .ost should....
Can anyone help me ?
Regards
/R
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|