# Support for wildcards in word censoring

**URL:** https://meta.discourse.org/t/support-for-wildcards-in-word-censoring/26866
**Category:** Feature
**Created:** [27 במרץ,‏ 2015,‏ 8:50am UTC](https://meta.discourse.org/t/support-for-wildcards-in-word-censoring/26866 "2015-03-27T08:50:44Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [9 בנובמבר,‏ 2016,‏ 11:01pm UTC](https://meta.discourse.org/t/support-for-wildcards-in-word-censoring/26866/7 "2016-11-09T23:01:48Z")

</div>

Hey look what we added this week:

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/5/3/c536196aac8b6aa7b0a877e4ef0f92634caa0e2b.png)

This is a new setting that works alongside `censored words`, but is a regular expression. The above example filters 7 digits of a phone number. If you like it, call me at 555-1234!

The value entered in the setting is checked to see if it matches too greedily like `(.)*`. Also, if cooking a post ever fails because the javascript engine timed out, then the `censored pattern` setting will be cleared on the assumption that it’s an evil regex like `(a|aa)+`.

---

_[View the full topic](https://meta.discourse.org/t/support-for-wildcards-in-word-censoring/26866)._
