Community
    • Login

    Replace timestamps notepad++

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    7 Posts 3 Posters 1.8k Views 2 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.
    • Paul MatteschkP Offline
      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 Offline
        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 Offline
          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 Offline
            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 Offline
              Paul Matteschk @Paul Matteschk
              last edited by

              @Paul-Matteschk fixed it, thanks

              PeterJonesP 1 Reply Last reply Reply Quote 1
              • PeterJonesP Online
                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 Offline
                  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

                  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