# Filter Out Multiple Console Messages in Google Chrome

1 May 2020 · DevTools, Today I Learned

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

---

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/
