using System.Text.RegularExpressions;
public static void Main()
string input = "Valuta dada 60 dana odob,,,rava se 40 % rabata za plaćanje unutar 30 dana";
Match match = Regex.Match(input, @"^[\D]+([\d]+)\s+[\D]+([\d]+)\s*%[\D]+([\d]+)[\D]*$", RegexOptions.IgnoreCase);
if (match.Success && match.Groups.Count == 4)
string prv = match.Groups[1].Value;
string dru = match.Groups[2].Value;
string tre = match.Groups[3].Value;
Console.WriteLine(prv + " " + dru + " " + tre);