How to replace Non-breaking space

Could someone please help how to to replace Non-breaking space with regular space. I referred this but its not working.

GET /_analyze
{
  "tokenizer": "keyword",
  "char_filter": [
    {
      "type": "mapping",
      "mappings": ["\\u00a0=>\\u0020"]
    }
  ],
  "text": "For section\\xa07."
}

Output:

{
"tokens" : [
{
"token" : """For section\xa07.""",
"start_offset" : 0,
"end_offset" : 17,
"type" : "word",
"position" : 0
}
]
}

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