![]() |
|||||
|
URL Pattern MatchingCyber Web Filter lets you use powerful regular expressions to match any URL. The following are examples of patterns that match different URLs. If you need help matching a URL, contact us and we will gladly help. Matching a web siteProblem: Match the web site www.something.com. Matching a directoryProblem: Match the "images" folder on any web site. Matching a filenameProblem: Match the file "sample.jpg". Matching a file extensionProblem: Match any MP3 file (*.mp3). Matching a whole keywordProblem: Match the whole keyword "sample", but not "samples". Matching a web site prefixProblem: Match any web site that starts with "ads.".
For example, ads.something.com. Note: The period character has a special meaning in regular expressions; it means "any character" which is similar to the question mark in DOS. To match the literal period character, you must preceed the period with a backslash. That is why in the above examples you see the backslash followed by the period. |
|
| Copyright © 2001-2008 Global Spy
Software. All Rights Reserved. In association with GlobalPatrol Spy Software. |