I've just seen the below by @gglick - it works without having to make a temporary file first and seems to be faster.
For more information, see the wiki Searching the Forum for Answers section.