using System;
using System.Text.RegularExpressions;
public class Example
{
public static void Main()
{
string pattern = @"https://rextester.com/JFUKE76014";
string input = @"COINGBIT
Commit fb5aa46
to 0x9d9b6f05d7b72588f83cc60fda4286ba45d13924
Nonce 6324
Rash 0xa964e1ee4c92c25f47392f67b735095304631089b5f2173825b7e93f49f08d57
Bloco 3391586
valor=us$ 7.000.000.000";
RegexOptions options = RegexOptions.Multiline;
foreach (Match m in Regex.Matches(input, pattern, options))
{
Console.WriteLine("'{0}' found at index {1}.", m.Value, m.Index);
}
}
}
Please keep in mind that these code samples are automatically generated and are not guaranteed to work. If you find any syntax errors, feel free to submit a bug report. For a full regex reference for C#, please visit: https://msdn.microsoft.com/en-us/library/system.text.regularexpressions.regex(v=vs.110).aspx