using System.Collections.Generic;
public static void Main()
var str = "007Bright007Rock";
Console.WriteLine(Converted(str));
public static string Converted(string str)
string result=string.Empty;
Dictionary<string,int> num=new Dictionary<string,int>();
foreach(var s in str.ToLower())
if(s.ToString().Any(char.IsDigit))
result = result+s.ToString();
where p.Key.Contains(s.ToString())
result = result + d.FirstOrDefault();