# Need an analyzer that can split words by dot and reserve numbers

**URL:** <https://discuss.elastic.co/t/need-an-analyzer-that-can-split-words-by-dot-and-reserve-numbers/95663>\
**Category:** Elasticsearch\
**Created:** [August 3, 2017, 8:13am UTC](https://discuss.elastic.co/t/need-an-analyzer-that-can-split-words-by-dot-and-reserve-numbers/95663 "2017-08-03T08:13:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CreateChen](https://avatars.discourse-cdn.com/v4/letter/c/ba8739/32.png) [@CreateChen](https://discuss.elastic.co/u/CreateChen)\
**Post date:** [August 3, 2017, 8:13am UTC](https://discuss.elastic.co/t/need-an-analyzer-that-can-split-words-by-dot-and-reserve-numbers/95663/1 "2017-08-03T08:13:30Z")

</div>

Hi,

Standard analyzer can't split words by a dot, and simple analyzer filter out the numbers.

I want to split words by dot and reserve numbers, which analyzer should I use?  
Example:  
"[google.com](http://google.com) 123" =\> ["google", "com", "123"]

thanks.

---

<div class="post-metadata">

**Author:** ![rjernst](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rjernst/32/6363_2.png) [@rjernst](https://discuss.elastic.co/u/rjernst)\
**Post date:** [August 3, 2017, 3:53pm UTC](https://discuss.elastic.co/t/need-an-analyzer-that-can-split-words-by-dot-and-reserve-numbers/95663/2 "2017-08-03T15:53:39Z")

</div>

Take a look at the pattern tokenizer:  
[https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-pattern-tokenizer.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-pattern-tokenizer.html)

---

<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:** [August 31, 2017, 4:04pm UTC](https://discuss.elastic.co/t/need-an-analyzer-that-can-split-words-by-dot-and-reserve-numbers/95663/3 "2017-08-31T16:04:05Z")

</div>

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