Filter Number patterns

We just installed Openfire with Spark client. We are looking for a way to block number patterns so Social Security Numbers are not sent out. We have the content filter in place. This is good for specifics but since we don’t know or have all SSN’s in the country we can’t obviously enter those in. So I was thinking like our exchange server can block messages with SSN’s this is how we do it in exchange : \d\d\d-\d\d-\d\d\d\d but oracle is a little different.

Bump

Content Filter plugin uses java’s regex http://www.igniterealtime.org/projects/openfire/plugins/contentfilter/readme.htm l

Have found such article http://java.sun.com/developer/technicalArticles/releases/1.4regex/ Maybe it could be useful.

It reads to use \d for numbers. But based on how the filter read me states that it is blocking the letter D

Sorry, don’t know much about java regex and how Content Filter works. Author of this plugin is no longer participating in this community, so there is noone to ask actually.