Content Filter - Regular Expressions

Document created by LG Champion on Nov 22, 2008Last modified by LG Champion on Apr 5, 2009
Version 3Show Document
  • View in full screen mode

These regular expressions are for usage within Conors famous Content Filter Plugin.

Anyhow one can not mix various filters, so one must use either the Emotion or the URL filter.

Filter Emotions

Feel free to use them as soon as you know what "mask" you want to use.

Emotions (various)


Emotions (only Spark)

(^|\ )((\?:\||;\)|X-\(|;-\)|B-\)|:8\}|:x|:D|:\)|:-\)|\]:\)|:\(|:_\||:\^0|:0|:p|:\||; \\)(\ |$))+

Filter URLs

To make sure that domains which end with .org, .com and .info can not open properly in a browser one can use these patterns. Spark does convert everything which looks like an URL to a link, so will be converted into a link. Even with this filter this will happen, anyhow http://www.igniterealtime_org/ will return an invalid domain name or DNS error.

Filter pattern: \.(org|com|info)

[x] Enable Mask, Mask: _$1