Community
    • Login

    Find and Replace specific word in strings that start with...

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 279 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • flux4201F
      flux4201
      last edited by

      I have an XML document with multiple lines containing

      <field name="UclAstroCnv_SystemAlias_A00022" Name="Unassigned">ID_UNASSIGNED</field>
      

      I need to replace the word “Unassigned” with a different word, like “Hello123” as an example. However the word “Unassigned” is used in other strings in this document so i cant just search for Unassigned and replace with the word i need to replace it with. Also the _A00022 in this example would be different in other strings that contain

      <field name="UclAstroCnv_SystemAlias
      

      Is there a way to search for “Unassigned” in strings that contain

      <field name="UclAstroCnv_SystemAlias
      

      and replace “Unassigned” with “Hello123”?

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @flux4201
        last edited by

        @flux4201

        What you are looking has been dealt with before; see if THIS POST makes sense to you in regards to how it is accomplished. Ask further questions here if needed.

        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors