# How do I use match regex for multiple values?

**URL:** <https://community.eazybi.com/t/how-do-i-use-match-regex-for-multiple-values/9216>\
**Category:** Questions & Answers\
**Created:** [April 1, 2022, 1:55pm UTC](https://community.eazybi.com/t/how-do-i-use-match-regex-for-multiple-values/9216 "2022-04-01T13:55:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeff\_Boon\_Business\_A](https://community.eazybi.com/user_avatar/community.eazybi.com/jeff_boon_business_a/32/6620_2.png) [@Jeff\_Boon\_Business\_A](https://community.eazybi.com/u/Jeff_Boon_Business_A)\
**Post date:** [April 1, 2022, 1:55pm UTC](https://community.eazybi.com/t/how-do-i-use-match-regex-for-multiple-values/9216/1 "2022-04-01T13:55:42Z")

</div>

As referring to code below, I am trying to find issues that matches either 4 of the options. But regex only can detect the value “None” because the value doesn’t have parentheses (). How can I use regex MATCHES that cater parentheses?

> Aggregate(  
> Filter(  
> [Merchants].[Merchants].Members,  
> [Merchants].CurrentHierarchyMember.Name  
> MATCHES ‘.\* Option (A).\* |.\* Option (B). \* |.\* Option (C). \* |.\* None. \*’
> 
> )  
> )

---

<div class="post-metadata">

**Author:** ![janis.plume](https://community.eazybi.com/user_avatar/community.eazybi.com/janis.plume/32/8826_2.png) [@janis.plume](https://community.eazybi.com/u/janis.plume)\
**Post date:** [April 22, 2022, 8:50am UTC](https://community.eazybi.com/t/how-do-i-use-match-regex-for-multiple-values/9216/2 "2022-04-22T08:50:37Z")

</div>

Hi,

The parenthesis is a reserved symbol in the regex, so you need to escape it. Please, check the following adjustment:

```auto
Aggregate(
Filter(
[Merchants].[Merchants].Members,
[Merchants].CurrentHierarchyMember.Name
MATCHES '.* Option \(A\).* |.* Option \(B\). * |.* Option \(C\). * |.* None. *'

)
)

```

Kindly,  
Janis, eazyBI support
