OnePlace Solutions can be configured to strips out specific characters from email or file properties and replace them with an underscore.To provide a custom set of rules to define which characters get stripped you can provide your own regular expression (regex) statement.
The <filePropertiesIllegalCharactersRegEx> tag must be inserted within opening and closing <sendToHandler> tags. You must also insert a & <![CDATA[[u0026]]]> which is a regular expression (U00226 = ampersand - &)
Replace "u0026" with your own
regex statement, characters matching the regex statement will be
stripped.
Example: prevent ampersand from being stripped.
<configuration> <sendToHandler> <filePropertiesIllegalCharactersRegEx action="delete"/> <filePropertiesIllegalCharactersRegEx action="insert"> <![CDATA[ [U0026] ]]> </filePropertiesIllegalCharactersRegEx> </sendToHandler> </configuration>
<configuration> <sendToHandler> <filePropertiesIllegalCharactersRegEx action="delete"/> </sendToHandler> </configuration>
By default illegal characters are stripped of the email when creating the filename or an attachment and replaces them with an underscore. To provide a custom set of rules to define which characters get stripped you can provide your own regular expression (regex) statement.
The<filenameIllegalCharactersRegEx> tag must be inserted within opening and closing <outlook> tags. You must also insert a <![CDATA[[^a-zA-Z0-9\x0020\u0026]]]> which is a regular expression. Replace " ^a-zA-Z0-9\x0020\u0026" with your own regex statement.
<configuration> <outlook> <filenameIllegalCharactersRegEx action="delete"/> <filenameIllegalCharactersRegEx action="insert"> <![CDATA[ [^a-zA-Z0-9\x0020\U0026] ]]> </filenameIllegalCharactersRegEx> </outlook> </configuration>
<configuration> <outlook> <filenameIllegalCharactersRegEx action="delete"/> </outlook> </configuration>