# OR condition between properties

**URL:** <https://community.hubspot.com/t/or-condition-between-properties/2170>\
**Category:** HubSpot Ideas\
**Tags:** object\
**Created:** [May 26, 2017, 7:29pm UTC](https://community.hubspot.com/t/or-condition-between-properties/2170 "2017-05-26T19:29:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![roisinkirby](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@roisinkirby](https://community.hubspot.com/u/roisinkirby)\
**Post date:** [May 29, 2017, 1:24pm UTC](https://community.hubspot.com/t/or-condition-between-properties/2170/2 "2017-05-29T13:24:42Z")

</div>

Hey @scinquegrani could you be more specific?

You can use an OR operator to search for multiple types of results in a given property. For instance, if you are looking for contacts in your database that are located in Boston or New York, you can enter your search so that City / contains / “Boston” OR “New York”:

 ![refresh-filter-or-operator.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/6/63c2656d150889d7ca53f34f7b790bdc730108d7.png)

**Please note** that the **OR** operator must be in all capital letters. You can also combine an **OR** operator search with a wildcard search using the [\* search function](https://knowledge.hubspot.com/articles/kcs_article/contacts/how-can-i-create-a-filter-in-the-crm-that-contains-a-unique-string) . For instance, if you want to filter freemail addresses, you can build a filter that looks like this:

 ![refresh-filter-or-operator-and-wildcard.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/6/b/6bff3a18fea98f9fb65deb1b8f263d7fa398a97b.png)

If what you are request aboving is not related to the CRM contact / company views tool, then could you clarify where you wish to use the AND/OR criteria?

---

_[View the full topic](https://community.hubspot.com/t/or-condition-between-properties/2170)._
