Hallo All,
Hopefully someone can point me in the right direction.
I am trying to modify an incoming email. To simplify things, suppose the email only contains 3 lines of text:
Some text here.
Name: Bob
Some more text here.
How would I with this simple text file, search for a line starting with "Name", catch the textstring after the : and replace the line with something like
<Name>Bob</Name>
Any ideas?
Hopefully someone can point me in the right direction.
I am trying to modify an incoming email. To simplify things, suppose the email only contains 3 lines of text:
Some text here.
Name: Bob
Some more text here.
How would I with this simple text file, search for a line starting with "Name", catch the textstring after the : and replace the line with something like
<Name>Bob</Name>
Any ideas?