Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Regular Expressions
  4. Replacement of initial words

Replacement of initial words

Scheduled Pinned Locked Moved Regular Expressions
12 Posts 6 Posters 66 Views 1 Watching
  • 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.
  • OriginalGriffO OriginalGriff

    Quote:

    I can't use regular formulas

    Because you aren't allowed to, or because you don't know how to? It makes a big difference in the answer ... What have you tried? Where are you stuck? What help do you need?

    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

    L Offline
    L Offline
    Luca Smith
    wrote on last edited by
    #3

    I can’t use regular formulas

    I have all the files containing:

    Work09Document2022”se_meta”:9001
    Work09Document2022”se_meta”:9002
    Work09Document2022”se_meta”:9003
    Work09Document2022”se_meta”:9004
    Work09Document2022”se_meta”:9005
    .
    .
    .
    (and so on)

    I basically have to look for initials
    (Wildcard)“se_meta”:90

    And I have to replace

    Work09Document2023”se_meta”:90

    Thanks for your help

    Roberto Grigis

    OriginalGriffO 1 Reply Last reply
    0
    • L Luca Smith

      I can’t use regular formulas

      I have all the files containing:

      Work09Document2022”se_meta”:9001
      Work09Document2022”se_meta”:9002
      Work09Document2022”se_meta”:9003
      Work09Document2022”se_meta”:9004
      Work09Document2022”se_meta”:9005
      .
      .
      .
      (and so on)

      I basically have to look for initials
      (Wildcard)“se_meta”:90

      And I have to replace

      Work09Document2023”se_meta”:90

      Thanks for your help

      Roberto Grigis

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #4

      At the risk of repeating myself...

      Quote:

      Because you aren't allowed to, or because you don't know how to? It makes a big difference in the answer ... What have you tried? Where are you stuck? What help do you need?

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      L 1 Reply Last reply
      0
      • OriginalGriffO OriginalGriff

        At the risk of repeating myself...

        Quote:

        Because you aren't allowed to, or because you don't know how to? It makes a big difference in the answer ... What have you tried? Where are you stuck? What help do you need?

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

        L Offline
        L Offline
        Luca Smith
        wrote on last edited by
        #5

        For the REGEX program or also NOTEPAD++

        Thanks and best regards

        D 1 Reply Last reply
        0
        • L Luca Smith

          Good morning everyone, I can't use regular formulas I basically have to look for initials (jolly)"se_meta":90 And I have to replace Work09Document2023”se_meta”:90 Thanks and best regards Roberto Grigis

          Richard DeemingR Offline
          Richard DeemingR Offline
          Richard Deeming
          wrote on last edited by
          #6

          For a manual process, use something like PowerRename[^]. If you want to do this in code, you're going to need to provide a lot more detail. But since you keep ignoring OG's questions, I won't hold my breath.


          "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

          "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

          L OriginalGriffO 2 Replies Last reply
          0
          • Richard DeemingR Richard Deeming

            For a manual process, use something like PowerRename[^]. If you want to do this in code, you're going to need to provide a lot more detail. But since you keep ignoring OG's questions, I won't hold my breath.


            "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

            L Offline
            L Offline
            Luca Smith
            wrote on last edited by
            #7

            Thanks for your help,
            that's not what I'm interested in. Find and replace within the file

            D T 2 Replies Last reply
            0
            • Richard DeemingR Richard Deeming

              For a manual process, use something like PowerRename[^]. If you want to do this in code, you're going to need to provide a lot more detail. But since you keep ignoring OG's questions, I won't hold my breath.


              "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

              OriginalGriffO Offline
              OriginalGriffO Offline
              OriginalGriff
              wrote on last edited by
              #8

              I think we are witnessing a Miracle Of Life: the birth of a Help Vampire. Fascinating - you don't often get to see them in the wild until they are at least 3 years old ... :-D

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

              1 Reply Last reply
              0
              • L Luca Smith

                Thanks for your help,
                that's not what I'm interested in. Find and replace within the file

                D Offline
                D Offline
                Dave Kreskowiak
                wrote on last edited by
                #9

                STOP TYPING AS LITTLE AS POSSIBLE AND ACTUALLY EXPLAIN WHAT YOU'RE HAVING A PROBLEM DOING!!!!

                Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles. Dave Kreskowiak

                1 Reply Last reply
                0
                • L Luca Smith

                  For the REGEX program or also NOTEPAD++

                  Thanks and best regards

                  D Offline
                  D Offline
                  Dave Kreskowiak
                  wrote on last edited by
                  #10

                  What's a "regular formula"? Are you talking about "regular expressions"? You're not going to get any answers to whatever question you have until you spell out, in detail, the actual question.

                  Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles. Dave Kreskowiak

                  1 Reply Last reply
                  0
                  • L Luca Smith

                    Good morning everyone, I can't use regular formulas I basically have to look for initials (jolly)"se_meta":90 And I have to replace Work09Document2023”se_meta”:90 Thanks and best regards Roberto Grigis

                    J Offline
                    J Offline
                    jschell
                    wrote on last edited by
                    #11

                    Luca Smith wrote:

                    NOTEPAD++

                    Following has basics of a replacement for Notepad++ using regular expression. You will need to adjust for your needs. Find/Replace with Regex and Wildcard in the middle of the strings | Notepad++ Community[^]

                    1 Reply Last reply
                    0
                    • L Luca Smith

                      Thanks for your help,
                      that's not what I'm interested in. Find and replace within the file

                      T Offline
                      T Offline
                      Terry R 2023
                      wrote on last edited by
                      #12

                      Given the conversation here and that you were equally sparse on words in your question on the Notepad++ forum https://community.notepad-plus-plus.org/topic/25021/regular-formulas it does seem that you don't read the replies properly and respond with a LOT more information. If it wasn't for the pigeon English feel I'd almost say this is an AI conversation. Terry

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups