• Login
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.
  • P
    Paul Matteschk
    last edited by Sep 2, 2022, 10:00 AM

    dear community,

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

    Screenshot 2022-09-02 115847.png

    T 1 Reply Last reply Sep 2, 2022, 10:06 AM Reply Quote 0
    • T
      Terry R @Paul Matteschk
      last edited by Sep 2, 2022, 10:06 AM

      @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

      P 1 Reply Last reply Sep 2, 2022, 10:23 AM Reply Quote 1
      • P
        Paul Matteschk @Terry R
        last edited by Sep 2, 2022, 10:23 AM

        @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.

        P 2 Replies Last reply Sep 2, 2022, 10:29 AM Reply Quote 0
        • P
          Paul Matteschk @Paul Matteschk
          last edited by Sep 2, 2022, 10:29 AM

          @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
          • P
            Paul Matteschk @Paul Matteschk
            last edited by Sep 2, 2022, 10:36 AM

            @Paul-Matteschk fixed it, thanks

            P 1 Reply Last reply Sep 2, 2022, 12:53 PM Reply Quote 1
            • P
              PeterJones @Paul Matteschk
              last edited by Sep 2, 2022, 12:53 PM

              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”.

              P 1 Reply Last reply Sep 2, 2022, 2:47 PM Reply Quote 1
              • P
                Paul Matteschk @PeterJones
                last edited by Sep 2, 2022, 2:47 PM

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

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