110,566
社区成员
发帖
与我相关
我的任务
分享
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
string s = Regex.Match("X:='ABC'", @"'(.*)'").Groups[1].Value;
Console.WriteLine(s);
}
}
}