Community

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

    Replace timestamps notepad++

    Help wanted · · · – – – · · ·
    3
    7
    105
    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 Matteschk
      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 R 1 Reply Last reply Reply Quote 0
      • Terry R
        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 Matteschk 1 Reply Last reply Reply Quote 1
        • Paul Matteschk
          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 Matteschk 2 Replies Last reply Reply Quote 0
          • Paul Matteschk
            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 Matteschk
              Paul Matteschk @Paul Matteschk last edited by

              @Paul-Matteschk fixed it, thanks

              PeterJones 1 Reply Last reply Reply Quote 1
              • PeterJones
                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 Matteschk 1 Reply Last reply Reply Quote 1
                • Paul Matteschk
                  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
                  Copyright © 2014 NodeBB Forums | Contributors