Rica ederim. İyi çalışmalar dilerim.
using System;
using System.Text.RegularExpressions;
public class Example
{
public static void Main()
{
string pattern = @"((:?.*):(.*\..*@.*\.com:.*))";
string input = @"https://template.com/x/xxxx/string:temp.late@xxxx.com:xxxx";
RegexOptions options = RegexOptions.Multiline;
foreach (Match m in Regex.Matches(input, pattern, options))
{
Console.WriteLine("'{0}' found at index {1}.", m.Value, m.Index);
}
}
}
çalıştı teşekkür ederim