Community
    • Login

    how can i remove automaticly lines with differents caracteres

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 1.4k 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.
    • Marin DumontM
      Marin Dumont
      last edited by

      hello,
      i have a xml files with a lot of lines like that
      <channel id=“C10.telerama.fr”>
      <display-name>TMC</display-name>
      <icon src=“http://localhost/logo10.gif” />
      </channel>
      <channel id=“C100.telerama.fr”>
      <display-name>France 3 Bourgogne</display-name>
      <icon src=“http://localhost/logo100.gif” />
      </channel>
      <channel id=“C101.telerama.fr”>
      <display-name>France 3 Bretagne</display-name>
      <icon src=“http://localhost/logo101.gif” />
      </channel>

      I try to find a quick way to remove all the lines starting by <icon src="http://localhost/

      How can I do that?
      Regards
      Marin

      1 Reply Last reply Reply Quote 0
      • gerdb42G
        gerdb42
        last edited by

        Do a RegEx search: ^<icon.*$\R. Replace with nothing.

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