in reply to Regex to match with exclusions

You can use look-behind assertions for that:

/ ([A-Z.]* (?<!DI\.PRODUCT\.HIERARCHY\.IMPORT\.) (?<!DI\.CATSETUP\.PRODUCT\.IMPORT\.) BO) /x
This will match only if the part behind 'BO' is not one of your special cases.