Title: Replacing only exact strings
Last modified: January 29, 2019

---

# Replacing only exact strings

 *  Resolved [okuopi](https://wordpress.org/support/users/okuopi/)
 * (@okuopi)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/replacing-only-exact-strings/)
 * Hi!
 * I would like to real-time replace these strings:
    – &auml – &aum – &au – &a with:
   ä
 * BUT I don’t like to replace string:
    ä (& a u m l ; — the HTML code for ä) — 
   I would like to keep it unreplaced.
 * So I need to replace only –exact– strings. “&auml”, “&aum”, “&au”, “&a”
 * Is this possible with Real-time Find and Replace?
    -  This topic was modified 7 years, 4 months ago by [okuopi](https://wordpress.org/support/users/okuopi/).
    -  This topic was modified 7 years, 4 months ago by [okuopi](https://wordpress.org/support/users/okuopi/).
    -  This topic was modified 7 years, 4 months ago by [okuopi](https://wordpress.org/support/users/okuopi/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Marios Alexandrou](https://wordpress.org/support/users/marios-alexandrou/)
 * (@marios-alexandrou)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/replacing-only-exact-strings/#post-11148356)
 * Yes it’s possible. The plugin supports the use of regex which allows you to write
   very specific rules that do exact matches only.
 *  Thread Starter [okuopi](https://wordpress.org/support/users/okuopi/)
 * (@okuopi)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/replacing-only-exact-strings/#post-11148710)
 * I can’t get it to work.
 * What should I write to Find:-field is I would like replace only “&aum”?
 * I tried it with like this:
    /^&aum$/
 * “Use RegEx” is checked.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Replacing only exact strings’ is closed to new replies.

 * ![](https://ps.w.org/real-time-find-and-replace/assets/icon-256x256.png?rev=1347950)
 * [Real-Time Find and Replace](https://wordpress.org/plugins/real-time-find-and-replace/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/real-time-find-and-replace/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/real-time-find-and-replace/)
 * [Active Topics](https://wordpress.org/support/plugin/real-time-find-and-replace/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/real-time-find-and-replace/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/real-time-find-and-replace/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [okuopi](https://wordpress.org/support/users/okuopi/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/replacing-only-exact-strings/#post-11148710)
 * Status: resolved