# Regex in alias filter

**URL:** <https://forum.genieacs.com/t/regex-in-alias-filter/2183>\
**Category:** Uncategorized\
**Created:** [November 17, 2021, 9:41am UTC](https://forum.genieacs.com/t/regex-in-alias-filter/2183 "2021-11-17T09:41:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lavira](https://avatars.discourse-cdn.com/v4/letter/l/87869e/32.png) [@lavira](https://forum.genieacs.com/u/lavira)\
**Post date:** [November 17, 2021, 9:41am UTC](https://forum.genieacs.com/t/regex-in-alias-filter/2183/1 "2021-11-17T09:41:50Z")

</div>

Hello @zaidka ,

could it be possible to add regex in the alias filter? something like:

```auto
let conn = declare('InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPDevice.[X_XXX_ServiceList:/.*INTERNET.*/]', {path: now});

```

to be able to find the path when the ServiceList is either one of these: “INTERNET” , “VOIP,INTERNET”, “TR069,INTERNET”, “INTERNET,VOIP” …etc

Or there is there another simple way to achieve this?

thanks
