Extracting company name from e-mail

#1
Hi! This is probably easy for you gurus, but I'm a newbie.... So, what is the best way to extract company name from an e-mail? For example the sender is john.smith@company.com and I'd need to get company.com into data item. I'm using Blue prism 6.2. Many thanks in advance!
 

sivagelli

Well-Known Member
#2
Regex can be used to get the Company name from the email address. Here is the regex-

Code:
(?<=@)[^.]+(?=\.)
Check for the threads on how to use the Regex and replace the regex pattern with the above expression.

Post back how it goes!
 
Top