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