Hello,
If you save out an Outlook email (.msg) file, then it'll be saved with the subject as the file name but with any illegal file characters replace by an underscore.
Illegal characters: \/:*?"<>|
For example, and email with the subject Re: Your important data 18/05/2022
will be saved as Re_ Your important data 18_05_2022.msg
I'm trying to match file names with window captions and this causes a problem because I don't know which character and underscore represents.
Is there a regular expression I could use to match the underscores in the file name with any of the illegal characters, or the underscore itself?
Bookmarks