# Special characters and Case sensitive search

**URL:** <https://discuss.elastic.co/t/special-characters-and-case-sensitive-search/158224>\
**Category:** Kibana\
**Created:** [November 26, 2018, 4:46pm UTC](https://discuss.elastic.co/t/special-characters-and-case-sensitive-search/158224 "2018-11-26T16:46:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![astupak](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@astupak](https://discuss.elastic.co/u/astupak)\
**Post date:** [November 26, 2018, 4:46pm UTC](https://discuss.elastic.co/t/special-characters-and-case-sensitive-search/158224/1 "2018-11-26T16:46:08Z")

</div>

How to search for special characters (double quotes) in Kibana? For example I need to find this string inside of a message field:  
`\"input\":\"\"`  
Or how to find a triple tilde occurrence:  
`~~~`  
Also is a way to perform Case sensitive search?

---

<div class="post-metadata">

**Author:** ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)\
**Post date:** [November 26, 2018, 9:57pm UTC](https://discuss.elastic.co/t/special-characters-and-case-sensitive-search/158224/2 "2018-11-26T21:57:02Z")

</div>

Escaping special characters with backslashes should work.

Case sensitivity will depend on the [analyzers](https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-analyzers.html) you have configured for your fields. The standard analyzer is used by default which lowercases terms before indexing them, meaning you won't be able to do a case sensitive search. The `.keyword` version of a text field will be case sensitive, but will not perform any other analysis either. If you need to search for individual tokens in a case sensitive manner you'll need to define a different analyzer for your field before indexing your data.

---

<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 24, 2018, 9:57pm UTC](https://discuss.elastic.co/t/special-characters-and-case-sensitive-search/158224/3 "2018-12-24T21:57:05Z")

</div>

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