TwelvestoneFront End

GREP Styles


Sign in

  • Waiting for Godot ( 730 k posts )
    Just conversation.
  • Thunder Dome ( 23 k posts )
    Photoshop Tennis and Collabs.
  • Photography ( 5.1 k posts )
    For all you shutterbugs, sh...
  • Flash ( 18 k posts )
    ActionScripting to tweens, ...
  • Front End ( 5.9 k posts )
    general front end design an...
  • Back End ( 9.7 k posts )
    serverside scripting, progr...
  • Projects and Theory ( 12 k posts )
    This forum is for discussio...
  • FAQ ( 269 posts )
    All those nagging questions...
  • Design ( 17 k posts )
    graphics & all aspects of g...
  • Purgatory ( 3.6 k posts )
    12stone Jail, feel free to ...
birdless
 
2011-06-28

Who is the resident GREP style expert? I'm looking for a code that will change all of the words before "of" to bold, but I haven't been able to make it work. I feel like GREP styles should be able to do this, but I can't figure out how. Any help? Also, I hope this is the right place for this post.

DontBogartMe
 
2011-06-28

it'd help if you'd give an example and how you'd want it to change?

birdless
 
2011-06-28

I finally figured it out!

But to answer your question, Bogart, I have a list of names of people and where they are from. They want the names bolded but nothing else. So we have "Name M. Name of Somewhere, AW." I was trying to figure out a GREP style that would change all the characters before " of " to bold. This is what I came up with: .+(?=( of ))

Feel free to let me know if you have a better solution.

DontBogartMe
 
2011-06-28

no, fraid I don't! Where are you using this GREP anyway?

Note, I am NOT the resident GREP expert k

birdless
 
2011-06-28

LoL! In InDesign. Magazine layout.

wowbagger[tip]
 
2011-06-28

The InDesign overlords tend to reside in the Design section afaik. They are weird like that k

birdless
 
2011-06-28

Ah. Thanks, Mr. Infinitely Prolonged.

Sorry, you must be a member to post to a conversation. Either log in or sign up to get involved.
TwelvestoneFront End

GREP Styles