我写了一个代码,返回一个由制表符分隔的单词
const string input = "Lorem ipsum dolor sit %download%#456 amet, consectetu";
static void Main(string[] args)
{
Regex expression = new Regex("\tw+\t");
var results = expression.Matches(input);
foreach (Match match in results)
{
Console.WriteLine(match);
}
Console.ReadLine();
}
但是这段代码不能正常工作。提前帮助我
谢谢