# FAQ: How can I remove extended ASCII characters from a string?

**URL:** <https://connective.celigo.com/t/faq-how-can-i-remove-extended-ascii-characters-from-a-string/1397>\
**Category:** Integrator.io\
**Tags:** export, handlebars\
**Created:** [September 8, 2020, 9:48pm UTC](https://connective.celigo.com/t/faq-how-can-i-remove-extended-ascii-characters-from-a-string/1397 "2020-09-08T21:48:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stephenbrandt](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/stephenbrandt/32/6891_2.png) [@stephenbrandt](https://connective.celigo.com/u/stephenbrandt)\
**Post date:** [September 8, 2020, 9:48pm UTC](https://connective.celigo.com/t/faq-how-can-i-remove-extended-ascii-characters-from-a-string/1397/1 "2020-09-08T21:48:09Z")

</div>

**Q.** Some of my exported records contain diacritics, such as Malmö, or punctuation, such as an ellipsis (…). The destination app doesn’t allow encoding for these characters, so I’m interested in simply removing them. Is there a way to replace all such instances?

**A.** The following handlebars function removes any character from the variable _City_ that is not a digit, a space character, or a letter in the English alphabet:

```
{{regexReplace City '' '([^0-9a-zA-Z\]+)' 'ig'}}
```

For more information, see [regexReplace](https://docs.celigo.com/hc/en-us/articles/360039326071-Handlebars-helper-reference#regexReplace).
