【发布时间】:2008-11-18 20:01:54
【问题描述】:
我有一串这样的测试:
<customtag>hey</customtag>
我想使用正则表达式来修改“customtag”标签之间的文本,使其看起来像这样:
<customtag>hey, this is changed!</customtag>
我知道我可以使用 MatchEvaluator 来修改文本,但我不确定要使用正确的 RegEx 语法。任何帮助将不胜感激。
【问题讨论】:
-
best answer 到此问题为止。