dblady
MIS
- Jul 27, 2009
- 12
I'm fairly new to crystal. i have a string text that shows changes to an email field in the following format:
customer.EMAIL: before@abc.org -> after@abcdefg.net
I want to be able to extract into two fields like this(stripping everything but the actual email):
[field1] before@abc.org
[field2] after@abcdefg.net
The string will be in one of the following formats:
[1]customer.EMAIL: before@abc.org ->
[2]customer.EMAIL: before@abc.org -> after@abcdefg.net
[3]customer.EMAIL: -> after@abcdefg.net
expected result1- [field1] before@abc.org [field2]blank
expected result2- [field1] before@abc.org [field2] after@abcdefg.net
expected result3- [field1]blank [field2] after@abcdefg.net
Any help is appreciated
customer.EMAIL: before@abc.org -> after@abcdefg.net
I want to be able to extract into two fields like this(stripping everything but the actual email):
[field1] before@abc.org
[field2] after@abcdefg.net
The string will be in one of the following formats:
[1]customer.EMAIL: before@abc.org ->
[2]customer.EMAIL: before@abc.org -> after@abcdefg.net
[3]customer.EMAIL: -> after@abcdefg.net
expected result1- [field1] before@abc.org [field2]blank
expected result2- [field1] before@abc.org [field2] after@abcdefg.net
expected result3- [field1]blank [field2] after@abcdefg.net
Any help is appreciated