automatic replacement of text in wpf richtextbox
问题 I have a WPF .NET 4 C# RichTextBox and I'm wanting to replace certain characters within that text box with other characters, this is to happen on the KeyUp event. What I'm trying to achieve is replace acronyms with full words, e.g.: pc = personal computer sc = starcraft etc... I've looked a few similar threads, but anything I've found hasn't been successful in my scenario. Ultimately, I'd like to be able to do this with a list of acronyms. However, I'm having issues with even replacing a