Actually, KM can do that There's an example macro in this forum. I just can’t find it right now.
Ah, here
For more information, see the wiki Searching the Forum for Answers section.