Community

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

    Need to find and replace character at the end of a line

    Help wanted · · · – – – · · ·
    2
    2
    1370
    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.
    • Marcelino Saiz
      Marcelino Saiz last edited by

      I have a XML file and some records are incomplete, so I have to manually fix.

      this is the correct format:
      </HivTest></HivForm>(crlf)

      unfortunately there are records that are incomplete:
      </HivTest></HivFor(crlf)

      so if I attempt to use the replace “</HivTest></HivFor”, it also finds “</HivTest></HivForm>”, so how can I find/replace just the “</HivTest></HivFor(crlf)”

      Claudia Frank 1 Reply Last reply Reply Quote 0
      • Claudia Frank
        Claudia Frank @Marcelino Saiz last edited by

        @Marcelino-Saiz

        use find dialog and check Search mode extended (on the bottom left)

        find: </HivTest></HivFor\r\n
        replace: </HivTest></HivForm>\r\n
        

        Cheers
        Claudia

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