# Filter Out Multiple Console Messages in Google Chrome

1 May 2020 · [DevTools](https://devinschulz.com/tags/devtools/index.md), [Today I Learned](https://devinschulz.com/tags/today-i-learned/index.md)

Learn how to filter out multiple console messages by using either regular expressions or prefixing a string with a hyphen-minus.

Archived writing, published in 2020. I’ve fixed some grammar since, but otherwise it’s as I wrote it, so some details may have aged.

---

Google Chrome gives you the ability to filter out messages within the console by
prefixing a search term with the hyphen-minus (subtraction) character `-`. If
you want to ignore multiple entries, add a space between the search terms.

```text
-term -analytics
```

Using regular expressions to filter entries also works:

```text
-/term/ -/analytics/
```

Or a combination of the two:

```text
-term -/analytics/
```

---

Source: https://devinschulz.com/blog/filter-out-multiple-console-messages-in-google-chrome/

