Start a conversation

Using Wildcards and Regular Expressions in URLs/ URL Groups for Kerio Control

Overview

Kerio Control allows using wildcards or regular expressions when creating content rules based on a URL/URL group or shared URL groups. This article shares the processes for using wildcards and regular expressions.


 

Wildcards

Follow these steps to use wildcards when adding URLs or URL groups:

  1. Select the HTTP URL option.
  2. In the Site field, write the URL. You may use substrings with wildcard characters * or ?, where an asterisk (*) stands for any number of characters while a question mark (?) represents one character.
  3. Click OK.

Examples:

  • www.example.com/index.html — a particular page
  • www.* — all URL addresses starting with www.
  • *exploit* — all URL addresses containing the exploit string
  • *warez??.cz* — all URL addresses containing strings such as warezzz.cz, warez99.cz, etc.

Note: Do not select the HTTP URL by regular expression option, if you want to use only wildcards.


 

Regular Expressions

Follow these steps to use regular expressions when adding URLs or URL groups:

  1. Select the HTTP URL by regular expression option.
  2. In the Site field, write the regular expression. Kerio Control uses Perl Regular Expression Syntax. For complete specifications, go to http://www.boost.org.
  3. Click OK.

Example:

Type facebook\.com.* in the Site field if you want to create a content rule for all URL addresses that contain facebook.com.

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted
  3. Updated

Comments