Thanks, but doesn't work. I don't need regular expressions. For my example above:
<a href="
http://eaxcr.yourmedsworld.ru?" style="text-decoration: none; color: #0099ff;">Click here!</a>
That's exactly what's in the message source.
I also don't want to find occurrences in a single email. Just like the original poster, I want to search folders for all messages containing something, but that something is in the html coding. I need to be able to search raw email bodies. If I search for "Click Here", it finds that message, but if I search for just "yourmedsworld" it doesn't find it.
I just installed the addon you suggested, and the regex is nice, but it still only searches the generated html page, not the original source code.
I've found many people asking about searching the raw email body, and some bug reports about it, but it doesn't look like this is going to be possible.
My current workaround, which is a bit extravagant, is:
1 - export all messages in the folder I want to search in eml format
2 - use Total Commander, or similar, to search the messages (individual files now) and delete the individual messages from there
3 - if there are any messages left, import the messages back to Thunderbird
Crazy, but this morning I had a folder of over 20,000 old emails that were marked as spam. I used that method and did about 20 different searches, and ended up with less than 1000 emails left. I re-imported those to look at individually and there were 3 emails that were not spam (incorrectly marked). Took about 1 hour to do all that. Do you know how long that would have taken to actually skim down through the emails manually.
Would be nice to be able to search the raw email bodies in Thunderbird, rather than have to send them elsewhere to do the searching. Oh well, I don't normally have near that many to go through, so for now just wait, with my fingers crossed
, for the day Thunderbird either allows raw body searching, or someone comes up with an addon that does that.
Maybe I should learn how to make addons and do one myself for that. I know html, javascript, perl, and php. Shouldn't be too hard to figure out how to write an addon.