Auto-replace watched word misses target word in emailed post

AI-generated summary

The discussion revolves around using auto-replace watched words to eliminate unwanted content, specifically “Outlook junk,” added to emailed posts. omarfilip attempted to use this feature to remove unwanted images, but it did not work as expected. nbianca explained that watched words only apply to text fragments and not to Markdown markups, which is why it failed to replace the target word. zogstrip and codinghorror suggested that watched words might not be the best tool for this task, with codinghorror recommending alternative methods to achieve this goal.

I tried using auto-replace watched word to eliminate junk that Outlook adds to the bottom of an emailed post, such as this: ​![image001.jpg|45x45](upload://yS0BlfXTqaPhoqyF6LaZLwt7xJv.jpg) but it still got through.

![image001.jpg|45x45]* is properly recognized by the test:

My replacement word is a blank. Can auto-replace watched words in fact replace the target word with a blank in an emailed post?

Hello,

The watched words are replaced during the process which converts posts from Markdown to HTML and it applies only to text fragments. Unfortunately, it means that it does not apply on other Markdown markups.

@omarfilip can you share some examples of “Outlook junk” that you would like to scrape? Watched words might not be the right tool for the job.

Thanks for confirming, @nbianca.

@zogstrip, these are in cooked posts and come from a few users who use Outlook. I’ll send you raw emails via PM.

![image001.jpg|45x45](upload://yS0BlfXTqaPhoqyF6LaZLwt7xJv.jpg)
![~WRD000.jpg|100x100](upload://bONwCMToQaefS5MCaw6ckHjvG5z.jpg)

Their posts ends up with extra space like this (blank images are selected to highlight them):

This isn’t really the intent of watched words. I’d look for a different way to accomplish this goal..