Exclude a particular entity in dietclassifier

I want dietclassifier not to extract a particular intent. Since it is being extracted by regexentityextractor. There seems to be conflict between the two. How do i resolve this?

You can use a custom action to choose between the versions that were extracted by each of the extractors.

Can you please give an example how? Because i am unable to create custom extractor