# Regexp query case-insensitive flag

**URL:** https://discuss.elastic.co/t/regexp-query-case-insensitive-flag/16216
**Category:** Elasticsearch
**Created:** [March 7, 2014, 2:32am UTC](https://discuss.elastic.co/t/regexp-query-case-insensitive-flag/16216 "2014-03-07T02:32:29Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Guoxing\_Li](https://avatars.discourse-cdn.com/v4/letter/g/919ad9/32.png) [@Guoxing\_Li](https://discuss.elastic.co/u/Guoxing_Li)
#### Post date: [March 7, 2014, 2:32am UTC](https://discuss.elastic.co/t/regexp-query-case-insensitive-flag/16216/1 "2014-03-07T02:32:29Z")

</div>

Hi there! I have a question regarding regexp query. Is there any way to  
enable case-insensitive flag when doing regexp query? I didn't find any way  
to specify that. Also, not in regex filter, or the regex functionality in  
query string query. However, it is available in Terms facet regex patterns.  
Is that not available or just I didn't find it?

Thank you in advance,  
Guoxing

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/0fc26f22-add4-4f80-9864-49e8f44e3fd0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/0fc26f22-add4-4f80-9864-49e8f44e3fd0%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Binh\_Ly\_2](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@Binh\_Ly\_2](https://discuss.elastic.co/u/Binh_Ly_2)
#### Post date: [March 7, 2014, 1:14pm UTC](https://discuss.elastic.co/t/regexp-query-case-insensitive-flag/16216/2 "2014-03-07T13:14:31Z")

</div>

Unfortunately, I don't believe this is available at the moment.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/cb20913d-a69b-4d27-80e7-1c2b84435033%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/cb20913d-a69b-4d27-80e7-1c2b84435033%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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: [July 6, 2017, 1:44am UTC](https://discuss.elastic.co/t/regexp-query-case-insensitive-flag/16216/3 "2017-07-06T01:44:59Z")

</div>


