For the second part you could use a regex like
(\d{10,}).+\s(.+?@.+\..+)\s
which gives you the
1) required number
2) the mail id
For checking the 10+ number, you could use the
\d{10,}
part.
Something like that:
var checkData = new Regex("\\d{10,}",
RegexOptions.CultureInvariant
| RegexOptions.Compiled);
var extractData = new Regex("(\\d{10,}).+\\s(.+@.+\\..+)\\s",
RegexOptions.CultureInvariant
| RegexOptions.Compiled);
var test = "hi this is abc and my mobile no is 9876543210 and my mail id is abc@abc.com sooooo";
var number = String.Empty;
var mail = String.Empty;
if (checkData.IsMatch(test)) {
var extractedData = extractData.Match(test);
number = extractedData.Groups[1].Value;
mail = extractedData.Groups[2].Value;
} else {
}
Console.WriteLine(number);
Console.WriteLine(mail);