Nobody seems to have posted a complete solution that actually works.
In reply to Re^2: help required for regexp by choroba in thread help required for regexp by upaksh