Thanks very much to eschwartz and jecilop. That was just what I was looking for. I had totally missed that option in Calibre.
I have not tried the expression you gave but I will. Although I think I know a little about computers these regular expressions are a bit of a mystery. I may be back for a bit of help.
AQ