# Recursive search for file name pattern

**URL:** <https://community.bloomreach.com/t/recursive-search-for-file-name-pattern/1517>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [October 24, 2019, 5:10pm UTC](https://community.bloomreach.com/t/recursive-search-for-file-name-pattern/1517 "2019-10-24T17:10:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kiki](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/kiki/32/529_2.png) [@kiki](https://community.bloomreach.com/u/kiki)\
**Post date:** [October 24, 2019, 5:10pm UTC](https://community.bloomreach.com/t/recursive-search-for-file-name-pattern/1517/1 "2019-10-24T17:10:17Z")

</div>

Hello everyone,

I am trying to do a global recursive search to find files that match a regex pattern. Is this possible with a hippo query or API ?

Best  
Kiki

---

<div class="post-metadata">

**Author:** ![jasper.floor](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/jasper.floor/32/28_2.png) [@jasper.floor](https://community.bloomreach.com/u/jasper.floor)\
**Post date:** [October 25, 2019, 9:06am UTC](https://community.bloomreach.com/t/recursive-search-for-file-name-pattern/1517/2 "2019-10-25T09:06:21Z")

</div>

Neither jcr xpath nor jcr sql allows for regex like patterns. They allow wildcards but that is about it. You may be able to use xpath functions to get closer, but there limited functions supported.

see [https://docs.adobe.com/docs/en/spec/jcr/1.0/6.6.5\_XPath\_Extensions.html](https://docs.adobe.com/docs/en/spec/jcr/1.0/6.6.5_XPath_Extensions.html)

---

<div class="post-metadata">

**Author:** ![kiki](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/kiki/32/529_2.png) [@kiki](https://community.bloomreach.com/u/kiki)\
**Post date:** [October 25, 2019, 9:13am UTC](https://community.bloomreach.com/t/recursive-search-for-file-name-pattern/1517/3 "2019-10-25T09:13:47Z")

</div>

Thank you very much …
