Try this:
string reg = @"(?<=https://.*?/)(\d+\.\d+\.\d+)(?:[^\.]+?)(\.\d+)";
string inp = @"https://d1swzmic55peuz.cloudfront.net/7.0.1-5xTesi.101/";
Match m = Regex.Match(inp, reg);
if (m.Success && m.Groups.Count == 3)
{
Console.WriteLine($"{m.Groups[1].Value}{m.Groups[2].Value}");
}
If you are going to use Regular expressions, get a copy of
Expresso[
^] - it's free, and it examines and generates Regular expressions.