Hi. I have the text:
Disposition: form-data; name="To"
ang
-----------------------------7da3d81f160588
Content-Disposition: form-data; name="CC"
-----------------------------7da3d81f160588
Content-Disposition: form-data; name="BCC"
-----------------------------7da3d81f160588
Content-Disposition: form-data; name="Subject"
MySubject
-----------------------------7da3d81f160588
Content-Disposition: form-data; name="File"; filename=""
Content-Type: application/octet-stream
-----------------------------7da3d81f160588
Content-Disposition: form-data; name="cf_loader"
on
-----------------------------7da3d81f160588
Content-Disposition: form-data; name="File"; filename=""
Content-Type: application/octet-stream
-----------------------------7da3d81f160588
Content-Disposition: form-data; name="template_id"
-----------------------------7da3d81f160588
Content-Disposition: form-data; name="Body"
MyBody
I have written code that get information and writes in an KeyValuePair. As follow:
Key - Value
To - ang
CC - Empty
BCC - Empty
Subject - MySubject
and etc. My code is used of class String for this. I need to use regular expressions, but I do not understand them. Help please. Thanks.
Replies
Know the answer? Post it — somebody with the same question will find it here.