in reply to user supplied regex substitution

I found a fairly good solution to this - see the thread I started and my reply marked as SOLVED

Nick