Skip to main content
erbe89911451
Known Participant
January 23, 2019
Answered

Adding another 0 before, when textfield contains 0 (00)

  • January 23, 2019
  • 1 reply
  • 837 views

Hello,

how can I represent my textfields which contains a 0 (zero) like this: 00  - to add a zero in front of.

I found on: Main Menu Layout > Numbering & Section options, but that's only for numbering the pages.

Greetz

    This topic has been closed for replies.
    Correct answer winterm

    Hi Greetz:

    Then why not correct the field in Excel so that the source file is correct prior to merging? Otherwise, you will have to make this correction each time you re-merge.

    ~Barb


    … And if you couldn't follow a really reasonable Barb's and Jane's suggestions due to whatever reason, this simple regex may be useful to double a zero which is the only character in a paragraph or text frame, in InDesign. Zeroes in action are colored for easy eye-catching:

    1 reply

    Peter Kahrel
    Community Expert
    Community Expert
    January 23, 2019

    In the GREP tab:

    Find what: \b0\b

    Change to: 00

    erbe89911451
    Known Participant
    January 23, 2019

    Thanks Peter,

    Can I set that change only for certain textfields?

    winterm
    Legend
    January 23, 2019

    It depends. What makes those 'certain textfields' special? Different formatting, applied style, some specific text before/after?

    In Find/Change panel you can define Search scope as Document, Story, Selection… Is it of any help to you?

    And what do you mean by a 'textfield'? Is it a cell in a table, a separate paragraph in a text frame, or what?

    Some visual samples with what you have, and what are you after, would be a great help to understand.