replacing numbers

replacing numbers

2
NewbieNewbie
2

    Nov 19, 2004#1

    Hello,
    I'd like to append a Zero to the left of any 4 digit numbers.

    Example:
    2345 -> 02345
    23 -> 23
    54354 -> 54354

    How is this possible? Thanks!

    6,613548
    Grand MasterGrand Master
    6,613548

      Nov 21, 2004#2

      Following regular expression replace in UltraEdit style with active Match Whole Word Only does the job:

      Find What: ^([0-9][0-9][0-9][0-9]^)
      Replace With: 0^1
      Best regards from an UC/UE/UES for Windows user from Austria

      2
      NewbieNewbie
      2

        Nov 22, 2004#3

        Thank you very much. It is doing the job :)