
F I L T E R S E T U P
User Guide |
ComSifter CS-8D Pro
4–24
Examples of RegEx Modifiers
Function
Task
Expression to Search For
Modify Page RegEx
Replace any instance of
youtube
with
**Do Your Homework**
"youtube"->"**Do Your
Homework**"
Modify Header RegEx
Windows Live Search cookie
replacement—force filtering on
"cookie:(.*)&ADLT=(OFF|DEMOTE)"
->"Cookie:$1&ADLT=STRICT"
Banned Header RegEx
Block several version of Internet
Explorer
'User-Agent: .*MSIE'
Modify URL RegEx
Substitute
youtube.com
with
youtube.com/education
for
YouTube for Schools
"(http://[-.a-zA-Z0-
9]*\.youtube\.com/[-_a-zA-Z0-
9/]*\?.*$)"-
#>"\1&edufilter=your_schools_ke
y here"
"(http://[-.a-zA-Z0-
9]*\.youtube\.com[^?]*$)"-
>"\1/?#edufilter=your_schools_k
ey here"
Banned URL RegEx
Ban Google Images
‘tbm=isch’
Exception URL RegEx
Allows all Microsoft PowerPoint files
^[^?]*\.ppt($|\?)
Summary of Contents for CS-8D Pro
Page 1: ...ComSifter protect web users now User Guide Model CS 8D Pro Version March 26 2012 0326121500 ...
Page 153: ...F I L T E R S E T U P User Guide ComSifter CS 8D Pro 4 23 Figure 4 19 Modify Page RegEx ...
Page 194: ...U S E R S User Guide ComSifter CS 8D Pro 6 28 Figure 6 19 Windows Firewall ...
Page 215: ...U S E R S User Guide ComSifter CS 8D Pro 6 49 Figure 6 40 Add User ...
Page 219: ...U S E R S User Guide ComSifter CS 8D Pro 6 53 Figure 6 43 Add IP ...