Sign In with your
Trend Micro Account
Need Help?
Need More Help?

Create a technical support case if you need further support.

Blocking keywords with punctuation marks when using InterScan Messaging Security Suite (IMSS) Content Filter

    • Updated:
    • 8 Oct 2015
    • Product/Version:
    • InterScan Messaging Security Suite 7.1 Linux
    • InterScan Messaging Security Suite 7.1 Windows
    • InterScan Messaging Security Suite 7.5 Windows
    • Platform:
    • Linux - Red Hat RHEL 4 32-bit
    • Unix - Solaris (Sun) version 10 (SunOS 5.10)
    • Unix - Solaris (Sun) version 9 (SunOS 5.9)
    • Windows 2003 Compute Cluster Server
    • Windows 2003 Datacenter Server
    • Windows 2003 Datacenter Server Edition 64-bit
    • Windows 2003 Enterprise Server
    • Windows 2003 Standard Server Edition
    • Windows 2003 Standard Server Edition 64-bit
    • Windows 2003 Storage Server
    • Windows 2003 Web Server Edition
    • Windows 2008 Enterprise Server
Summary

The default regular expressions on IMSS, "\sWORD\s", will only be triggered when IMSS finds an exact match "<space>WORD<space>".

Expressions such as "word!", "word?", "word!" and other words that end with a punctuation mark will not match the regular expression. 

Details
Public
The following are examples of keywords that end with a punctuation mark:
  • word!
  • word?
  • word,
  • word.
  • word;
  • word:
  • word/
  • word\

If you want to block the words above, you may use the following regular expression:

\bWORD[!,;:\./?]+\b

where:

b(in the beginning and end) means word boundary or whole word matching. This is different from \s, which matches a white space.
WORDis the target word. IMSS is not case sensitive by default so it will match any combination of uppercase and lowercase letters.
[!,;:\./?]is the bracket that contains choices of characters specifically punctuations. Regex will match anything that is inside [ ]. [ ] represents only one character.
+means any number of the preceding character (that means those inside the [ ])
Premium
Internal
Rating:
Category:
Configure; Troubleshoot
Solution Id:
1055276
Feedback
Did this article help you?

Thank you for your feedback!

To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.

If you need additional help, you may try to contact the support team. Contact Support


To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.


Need More Help?

Create a technical support case if you need further support.