Community
    • Login

    Replace timestamps notepad++

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    7 Posts 3 Posters 593 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.
    • Paul MatteschkP
      Paul Matteschk
      last edited by

      dear community,

      I would like to replace alle timestamps with two backslashes. how?

      Screenshot 2022-09-02 115847.png

      Terry RT 1 Reply Last reply Reply Quote 0
      • Terry RT
        Terry R @Paul Matteschk
        last edited by

        @Paul-Matteschk said in Replace timestamps notepad++:

        I would like to replace alle timestamps with two backslashes. how?

        Your find statement will not work as you are asking it to find sequences of ? characters. If you change all your ? To \d in each instance and change the search mode to regular expression it will work.

        Terry

        Paul MatteschkP 1 Reply Last reply Reply Quote 1
        • Paul MatteschkP
          Paul Matteschk @Terry R
          last edited by

          @Terry-R

          dd.png

          00:00:10:22 - 00:00:12:02

          \d{2}:\d{2}:\d{2}:\d{2} - \d{2}:\d{2}:\d{2}:\d{2}

          what iam missing Terry & thnks for reply my friend.

          Paul MatteschkP 2 Replies Last reply Reply Quote 0
          • Paul MatteschkP
            Paul Matteschk @Paul Matteschk
            last edited by

            @Paul-Matteschk

            00:00:00:10 - 00:00:10:00
            Syliva Schnaus
            Glaube muss Ihnen noch mal bestätigt werden. Okay. Perfekt. Darf ich fragen, wie alt du bist?
            00:00:10:22 - 00:00:12:02
            Katharina Dinzen
            Ja. 29.
            00:00:13:01 - 00:00:15:23
            Syliva Schnaus
            Und? Könntest du kurz was zu deinem beruflichen Hintergrund erzählen?
            00:00:17:06 - 00:00:48:07
            Katharina Dinzen
            Äh, ja, auf jeden Fall. Ich habe tatsächlich eigentlich auch BWL studiert.

            1 Reply Last reply Reply Quote 0
            • Paul MatteschkP
              Paul Matteschk @Paul Matteschk
              last edited by

              @Paul-Matteschk fixed it, thanks

              PeterJonesP 1 Reply Last reply Reply Quote 1
              • PeterJonesP
                PeterJones @Paul Matteschk
                last edited by

                fixed it, thanks

                For future readers, the problem that I see (which is probably how @Paul-Matteschk “fixed it”) is that \d is using regular expression syntax, but @Paul-Matteschk’s screenshot only showed “Extended” (“Erweitert”) syntax. By changing to regular expression syntax (“Reguläre Ausdrucke”), the \d gains the meaning of “match any digit”.

                Paul MatteschkP 1 Reply Last reply Reply Quote 1
                • Paul MatteschkP
                  Paul Matteschk @PeterJones
                  last edited by

                  @PeterJones the expression worked, i had to check “Reguläre Ausdrücke” instead of “Erweitert”. thanks Jones =)!

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