Community
    • Login

    how can i remove automaticly lines with differents caracteres

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 1.6k Views 1 Watching
    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 Offline
      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 Offline
        gerdb42
        last edited by

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

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors