Skip navigation
Kirikokos
Currently Being Moderated

Find/Change help!

Aug 6, 2012 11:55 PM

Tags: #color #find #change #styles #grep

Hi again,

 

Please see the picture.

 

I want to change the color of all the digits before / and incl. / to white in the cells.

Is that possible? Or maybe give them a style so I later can change the color?

 

If anyone want to try it out, here is a cs5 doc :

http://www.speedyshare.com/23nUa/findchange.indd

 

Untitled-1.jpg

 
Replies
  • Currently Being Moderated
    Aug 7, 2012 1:40 AM   in reply to Kirikokos

    (Untested) Add a GREP style to the paragraph style used in the cells that sets your 'white' (*) color with a character style. Use this GREP:

     

    ^[\d.]+/

     

    (*) It's better not to use a literal color "white", but "None" instead. "White" will insert white text in your document -- visible if you add a background color, and selectable in your PDF. "None" will insert nothing.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 7, 2012 3:21 AM   in reply to Kirikokos

    Ah. The GREP looks for (start of paragraph) (any positive number of (digit or period)) (slash). The last column also contains a comma

     

    Change the GREP to this and you should be allright:

     

    ^[\d.,]+/

     

    (there's a comma added inside the square brackets)

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points