# What's the best way to remove letters and special characters from a string?

**URL:** <https://forums.unrealengine.com/t/whats-the-best-way-to-remove-letters-and-special-characters-from-a-string/765060>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [February 6, 2023, 7:37pm UTC](https://forums.unrealengine.com/t/whats-the-best-way-to-remove-letters-and-special-characters-from-a-string/765060 "2023-02-06T19:37:05Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![andbc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@andbc](https://forums.unrealengine.com/u/andbc)\
**Post date:** [February 7, 2023, 11:42am UTC](https://forums.unrealengine.com/t/whats-the-best-way-to-remove-letters-and-special-characters-from-a-string/765060/3 "2023-02-07T11:42:30Z")

</div>

Thank you for your response! 🙂

I’m not sure I understand you right, this is what I tried to do:

 ![print](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/7/c/b7cc68dc774f54f7f493508b63e7b14c3ce503f2.png)

On my ‘Value 1’ I have the string ‘123M€’  
On my ‘Characters to remove’ I have the string ‘abcdefghijklmnopqrstuvwxyz€$%’

I’m sure I’m doing it wrong cause it’s not working…

---

_[View the full topic](https://forums.unrealengine.com/t/whats-the-best-way-to-remove-letters-and-special-characters-from-a-string/765060)._
