• Resolved okuopi

    (@okuopi)


    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.
    • This topic was modified 7 years, 4 months ago by okuopi.
    • This topic was modified 7 years, 4 months ago by okuopi.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Marios Alexandrou

    (@marios-alexandrou)

    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

    (@okuopi)

    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.