# How to use Discourse regexes with watched words?

**URL:** https://meta.discourse.org/t/how-to-use-discourse-regexes-with-watched-words/61522
**Category:** Support
**Created:** [24 באפריל,‏ 2017,‏ 9:25pm UTC](https://meta.discourse.org/t/how-to-use-discourse-regexes-with-watched-words/61522 "2017-04-24T21:25:19Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)
#### Post date: [24 באפריל,‏ 2017,‏ 10:38pm UTC](https://meta.discourse.org/t/how-to-use-discourse-regexes-with-watched-words/61522/3 "2017-04-24T22:38:06Z")

</div>

Reading that, I don’t see much about them except to see that they are _Javascript_ regular expressions. (I would have assumed Ruby without that link.) So a Javascript reference would be in order.

> **[RegExp - JavaScript | MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp)**
>
> The RegExp object is used for matching text with a pattern.

Which has internal links to specifications, if you want to go deeper.

---

_[View the full topic](https://meta.discourse.org/t/how-to-use-discourse-regexes-with-watched-words/61522)._
