Skip to content

Instantly share code, notes, and snippets.

@GroupDocsGists
Created March 22, 2019 17:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GroupDocsGists/f83062174ce885476d9a1664e33757b9 to your computer and use it in GitHub Desktop.
Save GroupDocsGists/f83062174ce885476d9a1664e33757b9 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<redactionPolicy xmlns="http://www.groupdocs.com/redaction">
<regexRedaction regularExpression="(John)" actionType="ReplaceString" replacement="foobar" />
<exactPhraseRedaction searchPhrase="foobar" caseSensitive="true" actionType="DrawBox" color="Red" />
<cellColumnRedaction regularExpression="^\\w+([-+.']\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*$" replacement="[red1]" columnIndex="1" worksheetIndex="2" />
<cellColumnRedaction searchPhrase="John" replacement="[red2]" wokrsheetName="Sheet1" />
<eraseMetadataRedaction filter="All" />
<metadataSearchRedaction filter="Title, Author" replacement="foobar" valueExpression="(metasearch)" keyExpression="" />
<annotationRedaction regularExpression="(Zara)" replacement="bar" />
<deleteAnnotationRedaction regularExpression="(bar)" />
<imageAreaRedaction pointX="15" pointY="400" width="1200" height="10" color="#AA50FC" />
<imageAreaRedaction pointX="110" pointY="120" width="360" height="200" color="Magenta" />
</redactionPolicy>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment