Community
    • Login

    Search for a string replacing a character and delete

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 1.1k 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.
    • Cesar SilvaC
      Cesar Silva
      last edited by

      <Setting name=“+$files#0” value=FILES\CONTENT.IE5\INDEX.DAT"/>
      <Setting name=“+$files#1” value=C:\PROGRAM FILES

      I want to replace <Setting name=“+$files#1” value= with blank but the number changes from 0 to 1, 2 and so on. I tried to replace the number with a question mark and didn’t work <Setting name=“+$files#?” value=

      This is what I have

      <Setting name=“+$files#0” value=FILES\CONTENT.IE5\INDEX.DAT"/>
      <Setting name=“+$files#1” value=C:\PROGRAM FILES

      and this what I want

      FILES\CONTENT.IE5\INDEX.DAT"/>
      C:\PROGRAM FILES

      1 Reply Last reply Reply Quote 0
      • guy038G
        guy038
        last edited by

        Hello, @cesar-silva,

        Follow the link, below

        https://notepad-plus-plus.org/community/topic/14727/how-to-search-for-a-string-and-replace-with-blank/2

        Cheers,

        guy038

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