# Censor specific text patterns

**URL:** <https://meta.discourse.org/t/censor-specific-text-patterns/26042>\
**Category:** Product Support\
**Created:** [March 5, 2015, 8:48pm UTC](https://meta.discourse.org/t/censor-specific-text-patterns/26042 "2015-03-05T20:48:59Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![optimus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/optimus/32/39715_2.png) [@optimus](https://meta.discourse.org/u/optimus)\
**Post date:** [March 5, 2015, 8:48pm UTC](https://meta.discourse.org/t/censor-specific-text-patterns/26042/1 "2015-03-05T20:48:59Z")

</div>

Hi, I saw in Discourse that there is a way to censor words in admin/site\_settings/category/posting - does anyone know of a way to censor specific patterns? For example, I foresee HR people eventually using the Discourse forum and to protect them from themselves posting sensitive info I want to automatically remove SSNs (i.e. XXX-XX-XXXX). Has anyone had this need before and found a way to do it?

Please share any advice 😄

Cheers,  
Chris

---

_[View the full topic](https://meta.discourse.org/t/censor-specific-text-patterns/26042)._
