# Getting Named Groups from pattern tokenizer

**URL:** <https://discuss.elastic.co/t/getting-named-groups-from-pattern-tokenizer/229107>\
**Category:** Elasticsearch\
**Created:** [April 21, 2020, 5:34pm UTC](https://discuss.elastic.co/t/getting-named-groups-from-pattern-tokenizer/229107 "2020-04-21T17:34:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HAKSOAT](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/haksoat/32/66788_2.png) [@HAKSOAT](https://discuss.elastic.co/u/HAKSOAT)\
**Post date:** [April 21, 2020, 5:34pm UTC](https://discuss.elastic.co/t/getting-named-groups-from-pattern-tokenizer/229107/1 "2020-04-21T17:34:09Z")

</div>

I am currently making use of the Pattern tokenizer to specify my own regex for extracting tokens. I have named groups in the regex, and I have no idea how I can extract them from the returned tokens.

---

<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:** [May 19, 2020, 5:34pm UTC](https://discuss.elastic.co/t/getting-named-groups-from-pattern-tokenizer/229107/2 "2020-05-19T17:34:12Z")

</div>

Closed on May 19, 2020, 5:34pm UTC

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