# Regexp group result

**URL:** https://discuss.elastic.co/t/regexp-group-result/19884
**Category:** Elasticsearch
**Created:** [September 19, 2014, 3:26pm UTC](https://discuss.elastic.co/t/regexp-group-result/19884 "2014-09-19T15:26:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Michael\_Guiral](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@Michael\_Guiral](https://discuss.elastic.co/u/Michael_Guiral)
#### Post date: [September 19, 2014, 3:26pm UTC](https://discuss.elastic.co/t/regexp-group-result/19884/1 "2014-09-19T15:26:21Z")

</div>

Hi,

Is it possible to get regexp group result into regexp request in  
eleasticsearch?

For example, if i make this request with a regexp group, I don't have the  
group value under request response. So can I have it or not ?  
{  
"query":{  
"regexp":{  
"path": "_Prods/([^/]+)_",  
"flags": "all"  
}  
},  
from:0,  
size:10  
}

Thanks

--  
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/73b09e26-4053-4a42-9898-4eafa0a213f9%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/73b09e26-4053-4a42-9898-4eafa0a213f9%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:01am UTC](https://discuss.elastic.co/t/regexp-group-result/19884/2 "2017-07-06T01:01:03Z")

</div>


