Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    how can i remove automaticly lines with differents caracteres

    Help wanted · · · – – – · · ·
    2
    2
    1287
    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 Dumont
      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
      • gerdb42
        gerdb42 last edited by

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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors