# Regexp not work in kibana

**URL:** <https://discuss.elastic.co/t/regexp-not-work-in-kibana/217381>\
**Category:** Kibana\
**Created:** [January 31, 2020, 1:35pm UTC](https://discuss.elastic.co/t/regexp-not-work-in-kibana/217381 "2020-01-31T13:35:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aleksey\_Rumjncev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aleksey_rumjncev/32/45084_2.png) [@Aleksey\_Rumjncev](https://discuss.elastic.co/u/Aleksey_Rumjncev)\
**Post date:** [January 31, 2020, 1:35pm UTC](https://discuss.elastic.co/t/regexp-not-work-in-kibana/217381/1 "2020-01-31T13:35:28Z")

</div>

Hey guys,

I have the following problem.  
I can't use regexp in kibana.  
I've that regexp /v1.0/.+?/ for strings  
/v1.0/inventory/bla-bla-bla  
/v1.0/dialog/blablabla  
The all work fine, but in kibana not apply it all.

---

<div class="post-metadata">

**Author:** ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)\
**Post date:** [January 31, 2020, 1:41pm UTC](https://discuss.elastic.co/t/regexp-not-work-in-kibana/217381/2 "2020-01-31T13:41:00Z")

</div>

Hi @Aleksey_Rumjncev,

Kibana is quite large 🙂  
Can you explain where in Kibana you are using these expressions, and how you are trying to use them? Screenshots would be helpful here too.

Can you also tell me which version of Kibana you are running?

Thanks!

---

<div class="post-metadata">

**Author:** ![Aleksey\_Rumjncev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aleksey_rumjncev/32/45084_2.png) [@Aleksey\_Rumjncev](https://discuss.elastic.co/u/Aleksey_Rumjncev)\
**Post date:** [February 3, 2020, 7:01am UTC](https://discuss.elastic.co/t/regexp-not-work-in-kibana/217381/3 "2020-02-03T07:01:34Z")

</div>

@Larry_Gregory Thanks for reply. I use Kibana 6.8.0  
I try to apply my regexp in discover field path:/v1.0/.+?/.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1a1dbc0d04aafd3247ce30300dd53518fce85765.png)

---

<div class="post-metadata">

**Author:** ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)\
**Post date:** [February 3, 2020, 12:44pm UTC](https://discuss.elastic.co/t/regexp-not-work-in-kibana/217381/4 "2020-02-03T12:44:57Z")

</div>

What happens if you surround your expression with `/` to indicate that it's a regular expression?

Can you also try running the expression [against Elasticsearch directly](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-regexp-query.html) to test that it works there?

---

<div class="post-metadata">

**Author:** ![Aleksey\_Rumjncev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aleksey_rumjncev/32/45084_2.png) [@Aleksey\_Rumjncev](https://discuss.elastic.co/u/Aleksey_Rumjncev)\
**Post date:** [February 12, 2020, 12:34pm UTC](https://discuss.elastic.co/t/regexp-not-work-in-kibana/217381/5 "2020-02-12T12:34:25Z")

</div>

> [@Aleksey\_Rumjncev](#):
>
> path:/v1.0/.+?/.

Thank you for the help. With / works fine path:'//v1.0/.+?/'

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 11, 2020, 12:42pm UTC](https://discuss.elastic.co/t/regexp-not-work-in-kibana/217381/6 "2020-03-11T12:42:39Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
