using System.Text.RegularExpressions;
private static string originText = @"
Open Ticket #422 in Usersnap Dashboard:
https://usersnap.com/a/#/your-2345-1234/p/wert/422
Comment: Are we going to add the shops AV communication Phone number here on hover over? Expected would it to be avail on hover over like old TVP so shop does not have to hunt for it.
Browser: Chrome 79 (Windows 10)";
public static void Main()
Regex regex = new Regex(@"(?<startingText>[\s\S]*)\n(?<commentKey>Comment: )(?<commentValue>.*)\n(?<browserKey>Browser: )(?<browserValue>.*)");
var result = regex.Match(originText);
Console.WriteLine(result.Groups["startingText"]);
Console.WriteLine(result.Groups["commentKey"]);
Console.WriteLine(result.Groups["commentValue"]);
Console.WriteLine(result.Groups["browserKey"]);
Console.WriteLine(result.Groups["browserValue"]);