limok Posted November 12, 2015 Share Posted November 12, 2015 Hi, I'm trying to set up a hub transport rule that redirects email based on the filename of an attachment. setting up the rule is not a problem but I can't figure out the proper regex for the filename. I'm looking for the regex to check the first two letters to match AA and the file extension to be a pdf. I have this at the moment but it doesn't work as it should. (^AA).pdf$ Cheers, Link to comment Share on other sites More sharing options...
limok Posted November 13, 2015 Author Share Posted November 13, 2015 Sorted. Solution was AA(\S|\d|\s)*pdf Link to comment Share on other sites More sharing options...
Recommended Posts