replace comma with dot

  • sonhakari

    sonhakari - 2013-01-29

    I started to use notepad++ for only 2 days. please let me ask a question.
    how can I replace "." wit "," for only prices??? with notepad ++..

    xxx,123 --> not price
    123,345 --> not price
    12,66 --> price
    98,09 --> price

  • Fool4UAnyway

    Fool4UAnyway - 2013-01-29

    Use Regular Expression mode. You want to find a (string of) digit(s), a comma, and then another (string of) digit(s). You re-place the digits and change the comma to a dot.


    Replace by:

    Alternatively, you may limit the Find regex to (\d),(\d).
    Allowing any single digit before and after the comma may work faster.

  • cchris

    cchris - 2013-02-03

    Or rather
    Find: (\d+).(\d\d\D)
    Replace: \1,\2



Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks