# Regexp in elastic search not match string

**URL:** <https://discuss.elastic.co/t/regexp-in-elastic-search-not-match-string/74401>\
**Category:** Elasticsearch\
**Created:** [February 8, 2017, 3:56pm UTC](https://discuss.elastic.co/t/regexp-in-elastic-search-not-match-string/74401 "2017-02-08T15:56:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tr\_ng\_Trang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tr_ng_trang/32/13053_2.png) [@Tr\_ng\_Trang](https://discuss.elastic.co/u/Tr_ng_Trang)\
**Post date:** [February 8, 2017, 3:56pm UTC](https://discuss.elastic.co/t/regexp-in-elastic-search-not-match-string/74401/1 "2017-02-08T15:56:42Z")

</div>

i have a problem when use percolate to search string by regex, my regex:  
\*\* .\* enable .\* shell\*\*  
and string:  
**enable. d yshell. sh. f**  
when i check regex online it match, but when use in elastic, it not match. i dont know how ot fix it

---

<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 8, 2017, 3:56pm UTC](https://discuss.elastic.co/t/regexp-in-elastic-search-not-match-string/74401/2 "2017-03-08T15:56:43Z")

</div>

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