I like this plugin. We use this in my web application: http://o.pckg.in/deals-crawler. But the plugin just doesn't work if the text contains any extra whitespace. In HTML it is always possible to have some extra text between the elements. You should modify the plugin to execute $.trim() before doing any regex matching.
-Thanks
Sankar.