AnsweredAssumed Answered

Parsing Email addresses out of a string

Question asked by boilinh2o on May 9, 2017
Latest reply on May 16, 2017 by boilinh2o



I have a field that is populated by a mail archive - call it recieverTO.


The content can look like this:


Nathan Smith,Mark Jones


or this

Nathan Smith


or this

Nathan Smith,


and maybe even this

Nathan Smith,, Terry Brown


I want to grab out the email addresses. Preferably all of them, but failing that at least the first one.


I'm guessing that I might need to script this. Maybe looping through and grabbing the first and assigning it to a variable and then the next... Once I have them in variables I can stick them somewhere where I can use them.


Any suggestions is appreciated.