# Adding tokenizer/patternReplace on phoneNumber using NEST client

**URL:** <https://discuss.elastic.co/t/adding-tokenizer-patternreplace-on-phonenumber-using-nest-client/246142>\
**Category:** Elasticsearch\
**Created:** [August 24, 2020, 3:01pm UTC](https://discuss.elastic.co/t/adding-tokenizer-patternreplace-on-phonenumber-using-nest-client/246142 "2020-08-24T15:01:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AmitaS](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amitas/32/47708_2.png) [@AmitaS](https://discuss.elastic.co/u/AmitaS)\
**Post date:** [August 24, 2020, 3:01pm UTC](https://discuss.elastic.co/t/adding-tokenizer-patternreplace-on-phonenumber-using-nest-client/246142/1 "2020-08-24T15:01:05Z")

</div>

Hi,

i have phone numbers in elastic search -\> saved as ,in any of below formats  
"+46 23234 5656"  
"0 23234 5656"  
"23234-5656"  
"232345656"

so if i search for "232345656" i want all 4 results shown above,can anyone tell me how to achieve 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:** [September 21, 2020, 3:01pm UTC](https://discuss.elastic.co/t/adding-tokenizer-patternreplace-on-phonenumber-using-nest-client/246142/2 "2020-09-21T15:01:11Z")

</div>

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