# Number format

**URL:** <https://discuss.elastic.co/t/number-format/206750>\
**Category:** Elasticsearch\
**Created:** [November 6, 2019, 8:53am UTC](https://discuss.elastic.co/t/number-format/206750 "2019-11-06T08:53:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rakesh4](https://avatars.discourse-cdn.com/v4/letter/r/eb8c5e/32.png) [@Rakesh4](https://discuss.elastic.co/u/Rakesh4)\
**Post date:** [November 6, 2019, 8:53am UTC](https://discuss.elastic.co/t/number-format/206750/1 "2019-11-06T08:53:05Z")

</div>

Hi,

I have one input as 28 M G ROAD,  
is there any way ES can generate terms for number as 28,28th, twentyEight etc.

Any help appreciated.

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [November 6, 2019, 9:07am UTC](https://discuss.elastic.co/t/number-format/206750/2 "2019-11-06T09:07:52Z")

</div>

You would need to extract the number from the text. You can try using a [grok processor](https://www.elastic.co/guide/en/elasticsearch/reference/7.4/grok-processor.html) or a [dissect processor](https://www.elastic.co/guide/en/elasticsearch/reference/7.4/dissect-processor.html) to achieve something like this.

---

<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:** [December 4, 2019, 9:15am UTC](https://discuss.elastic.co/t/number-format/206750/3 "2019-12-04T09:15:32Z")

</div>

Closed on December 4, 2019, 9:15am UTC

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