I am trying to set up SendGrid add-on in my Heroku NodeJS app. I created the API Key and set it as an environment variable. The whole API key looks something like: SG.actualValue.bbb_cccccc The first setup I did I set the whole key as as my SENDGRID_API_KEY and I got this error: API key does not start with SG. So,
Tag: email
Find everything that’s not an email address using only regex
I need to find everything in a string that is not an e-mail address. Here is my version of how to find an e-mail address. I want to modify this regex to find the inverse–everything other than the e-mail address in any string. ###Example 1: asdasd ###Example 2: 123@asd.com sda Note: I want to get status == true in the