Community
    • Login

    trocar ponto por vírgula na string numérica

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 3 Posters 572 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.
    • Carlos Zucareli RenóC
      Carlos Zucareli Renó
      last edited by

      trocar ponto por vírgula na string numérica
      Tem como configurar no notepad ++?

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Carlos Zucareli Renó
        last edited by PeterJones

        @Carlos-Zucareli-Renó ,

        You weren’t very specific, so in simple terms, to change a character like ; into a character like , anywhere in the document, you would use Search > Replace and set FIND WHAT = ; and REPLACE WITH = ,

        If you only want to do it in the context of just when the semicolon is “inside numbers”, you would have to use a regular expression search mode rather than regular search mode. For example, if you have 123;45 and want to change it to 123,45, you could look for “some number of digits, a semicolon, then more digits”: FIND WHAT = (\d+);(\d+) and REPLACE WITH = $1,$2 and SEARCH MODE = Regular Expression. (More on these in “useful references” will be below.)

        If this isn’t enough for your data, you need to be more specific: Please show some example “before” and “after” data – you can use the </> button on the toolbar when making your post to get a pair of ``` lines in post, and you can put your data between those lines.

        (BTW: English is the official language of this forum. You might want to try to translate your native language into English yourself, or to use an online translator you trust. Otherwise, you are relying on the readers [or their browsers] to all do the translation for you, which means your intent might not be making it through their translation.)

        ----

        Useful References

        • Please Read Before Posting
        • Template for Search/Replace Questions
        • Formatting Forum Posts
        • Notepad++ Online User Manual: Searching/Regex
        • FAQ: Where to find other regular expressions (regex) documentation
        1 Reply Last reply Reply Quote 2
        • Alan KilbornA
          Alan Kilborn
          last edited by Alan Kilborn

          @Carlos-Zucareli-Renó said in trocar ponto por vírgula na string numérica:

          change period to comma in numeric string
          Is it possible to configure in notepad ++?

          Not only are you wasting everyone’s time by not posting in English, your topic title (“replace semicolon with comma in numeric string”) doesn’t even match your posting content (“change period to comma in numeric string”).

          I won’t even try to answer, nor think about what you’re trying to ask. I’ll just “move on” unless you put some effort behind it on your end, in the form of a reformulated posting.

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