[英]How to use SSRS Expression
I am using expression to replace text as follow: 我使用表达式替换文本如下:
RegularExpressions.Regex.Replace(" <Test>", @"&(.|\n)*?;", " ");
which give result Test
But i want result <Test>
. 给出结果Test
但我想要result <Test>
。
Why not simply this? 为什么不简单呢?
string result = HttpUtility.HtmlDecode(input).Trim();
Leave out the Trim
if you want to keep those spaces. 如果你想保留这些空间,请Trim
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.