# URL analyzer : remove www

**URL:** <https://discuss.elastic.co/t/url-analyzer-remove-www/192989>\
**Category:** Elasticsearch\
**Created:** [July 30, 2019, 8:45pm UTC](https://discuss.elastic.co/t/url-analyzer-remove-www/192989 "2019-07-30T20:45:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![WinElastic](https://avatars.discourse-cdn.com/v4/letter/w/54ee81/32.png) [@WinElastic](https://discuss.elastic.co/u/WinElastic)\
**Post date:** [July 30, 2019, 8:45pm UTC](https://discuss.elastic.co/t/url-analyzer-remove-www/192989/1 "2019-07-30T20:45:55Z")

</div>

Hi,

I am using below analyzer to get the tokens of a URL. I want to remove the : 'www.' as well from my tokens. Any suggestions on how this be achieved ?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/4/64e8a9fb55af7c6f2a5c80d7dc6b7afc38f42b10.png)

---

<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 27, 2019, 8:47pm UTC](https://discuss.elastic.co/t/url-analyzer-remove-www/192989/2 "2019-08-27T20:47:51Z")

</div>

Closed on August 27, 2019, 8:47pm UTC

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