I should preface this by saying that I am in no way a coder. I have a rudimentary understanding of coding, the rest I deal with by reading up and simply thinking through it logically.
I am trying to create an entity in Dialogflow ES to recognise when an utterance contains an email address (No requirement to extract or use said email, simply recognise it) while also determining that the email is not my own company email. For instance
[\w]+\@(?!companyname)[\w]+\.?[\w]+\.?[\w]+\.?[\w]{2,4}
Here you can see the regex entity will recognise if an utterance contains the characters:
word@word.com and I can respond with a simple "I can't take your email information on this bot."
However, if the customer enters help@companyname.com the regex will not pick up on this. This is because I already have an entity that confirms my company email.
My problem is that DF doesn't seem to be able to accept (?!) as an input for a regex. Is there another way that I can do this?