using System.Text.RegularExpressions;
using System.Collections.Generic;
public static void Main()
string email = @"EMAIL STARTING IN APRIL
Marketing ID Local Number
------------------- ----------------------
----------------- -------------------
Destination ID Destination details
----------------- -------------------
var dict = new Dictionary<string, string>();
var lines = email.Split(Environment.NewLine.ToCharArray(), StringSplitOptions.RemoveEmptyEntries);
int starts = 0, end = 0, length = 0;
while (!lines[starts + 1].StartsWith("-")) starts++;
for (int i = starts + 1; i < lines.Length; i += 3)
var mc = Regex.Matches(lines[i], @"(?:^| )-");
int start = m.Value.StartsWith(" ") ? m.Index + 1 : m.Index;
while (lines[i][end++] == '-' && end < lines[i].Length - 1) ;
length = Math.Min(end - start, lines[i - 1].Length - start);
string key = length > 0 ? lines[i - 1].Substring(start, length).Trim() : "";
while (lines[i][end++] == '-' && end < lines[i].Length) ;
length = Math.Min(end - start, lines[i + 1].Length - start);
string value = length > 0 ? lines[i + 1].Substring(start, length).Trim() : "";
throw new Exception("Email is not in correct format");
Console.WriteLine("{0} : {1}", x.Key, x.Value);