Below is my new code. I just edited the pattern, and it is almost working. My concern right now is if the < has no space on the character, it did not forward to my email.
Public Sub FWItem(Item As Outlook.MailItem)
Dim Email As Outlook.MailItem
Dim Matches As Variant
Dim RegExp As...
I tried what you have suggested above. The good thing is, all email that I received is now converted to Plain Text but even the mail body contains <, it will now not forwarded to my email.
BTW, i used the code below for my pattern:
If TypeOf Item Is Outlook.mailitem and...
I'm having trouble coding Regex with vba
Can anyone help me with missing part to make the Outlook VBA script below work?
What I'm trying to do is filter the email body that contains a less than symbol <, it will forward to a specific email address.
Here is so far what I have...