Community

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

    removing characters

    Help wanted · · · – – – · · ·
    3
    4
    142
    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.
    • kracovwolf
      kracovwolf last edited by

      How do I remove/change characters at the beginning and end of lines?
      “J The Song of Heroes j”
      each J is improperly converted musical symbols.

      Lycan Thrope Robert Carnegie 2 Replies Last reply Reply Quote 0
      • Lycan Thrope
        Lycan Thrope @kracovwolf last edited by Lycan Thrope

        @kracovwolf ,
        You need to copy the ‘exact’ characters into a Code window via the symbol above this text area that looks like </>, so that we can see the actual musical symbol that is being misinterpreted, otherwise, everyone is just guessing what it is you really mean and will be spinning their wheels unecessarily. When you do it right, it will look like this:

        “J The Song of Heroes j”
        

        Or whatever characters they are that are being copied to the clipboard that you say is being misinterpreted.

        kracovwolf 1 Reply Last reply Reply Quote 1
        • kracovwolf
          kracovwolf @Lycan Thrope last edited by

          @lycan-thrope what I meant was the subtitles were converted with another program. Ignore it. I just need to change the J’s into something else or remove entirely.

          1 Reply Last reply Reply Quote 1
          • Robert Carnegie
            Robert Carnegie @kracovwolf last edited by

            @kracovwolf I think you will want to use “Search Replace” with “Search Mode” of “Regular Expression”.

            This is a very complicated option, but what you specifically need to do is simple:

            ^J
            means “J at the start of a line” in Regular Expression language. You can replace this with nothing. From your example, you should replace “J space” which is also there.

            It will not remove the start of line. It will only remove J or remove J space.

            J$
            means “J at the end of a line”.

            Doing one and then the other is simplest.

            It will still be your responsibility to not remove more J s than you want to.

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