正则表达式的问题

timiil 2004-02-04 06:15:07
我想写个函数,把形如下面的文本:
"
public string mstrDebugTitle = "\u8c03\u8bd5";

public string mstrRoleKey = "";

public string mstrTrial = "\u8bd5\u7528\u7248\u672c\u5df2\u7ecf\u5230\u671f\uff01";
"

通过转换成下面的:
"
public string mstrDebugTitle = "调试";

public string mstrRoleKey = "";

public string mstrTrial = "试用版本已经到期!";
"

其中 \u????就是要找的字符串了,高手能给出合适的正则表达式么? 谢谢了!!!
...全文
39 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复

110,535

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧