0

I am using out-of-box SharePoint 2010 workflows. I have an email address stored in a variable, e.g. abc.xyz@domain.com. I want to extract the string after '@' and before following '.', i.e. 'domain' in this case. Any ideas? Thanks.

0

This may be helpful to you specially the regular expression bit.

http://ilovesharepoint.codeplex.com/releases/view/60840

0

I finally did it like this:

  • Store email id of the submitter in a variable
  • Copy 10 characters ('domain.com' in this case) from the end of the variable string and store it in variable2
  • Copy 6 characters (domain) from the start of variable2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.