Skip to main content
jesperb66050901
Participant
December 30, 2016
Answered

Help for my GREP Style

  • December 30, 2016
  • 2 replies
  • 978 views

Hi

I need som help for my GREP style.

What is the GREP code if I want less space between A and 1 (see example picture). Do I make a character style with tracking and what code do I have to write?

If it is A and W with no space in between I use A(?=W) but in the example below there is a space in between.

Kind regards

Jesper

This topic has been closed for replies.
Correct answer DBLjan

Just to be save (but less flexible):

2 replies

jesperb66050901
Participant
December 30, 2016

It only has to happen when "KORMA *space* 1000" occurs

DBLjanCorrect answer
Legend
December 30, 2016

Just to be save (but less flexible):

jesperb66050901
Participant
January 26, 2017

Hi DBLjan

I don't know it this one is too complex to do as a greph style in my paragraph style:

Do you know how to do this (see example screenshot)?. I need the . and the - to more close to the 2

Legend
December 30, 2016

This should work:

Maybe
(?<=[\l\u])\s(?=\d)

is not as slick, but i dont know what exactly you want to exclude, so I made…

Look for \s (All Spaces)
while infront is (?<=…) has to be [\l\u] (any character)

and while after is (?=…) a digit \d

You could change the stuff what has to be infront/after