RedactAnnotation

IAnnotatedDocument.RedactAnnotation method

替换文档中所有注释中的匹配文本。

public RedactionResult RedactAnnotation(Regex regularExpression, string replacement)
范围 类型 描述
regularExpression Regex 用于搜索和替换的正则表达式
replacement String 文本替换

返回值

替换结果

也可以看看