Replace all metabolites table fast

Most errors are caught and error message displayed. Strange regex error
for case insensitive replace when () or [] are not in pairs