Community
    • Login

    Find and delete everything between two characters

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 682 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.
    • Scott Smith155S
      Scott Smith155
      last edited by

      What I have:
      <displayform>Abdel-Rahman Lawendy</displayform>Lawendy
      <displayform>Gihan Abdel-Malek</displayform>Abdel-Malek

      What I have been trying to do is figure out how to delete everything between the <displayform> and </displayform>. I’m just not good with Regex.

      Any help would be Very Gratefully Appreciated.
      Thanks in advance.

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

        @Scott-Smith155

        Find <displayform>.*?(?=</displayform>)
        Replace <displayform>

        1 Reply Last reply Reply Quote 3
        • Scott Smith155S
          Scott Smith155
          last edited by

          @Alan-Kilborn said:

          <displayform>

          Thank You! Works perfect for me.

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