using System;
using System.Text.RegularExpressions;
class RemoveDigitsFromStringRegex_CSharp
{
static void Main()
{
string s = "abs322kl59po@$d0057qn8";
// Create a regular expression to match digits
Regex digitsRegex = new Regex("[0-9]");
// Use Regex.Replace to replace digit characters with an empty string
s = digitsRegex.Replace(s, "");
Console.WriteLine(s);
}
}
/*
run:
absklpo@$dqn
*/