To provide the best experiences, we and our partners use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us and our partners to process personal data such as browsing behavior or unique IDs on this site and show (non-) personalized ads. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Click below to consent to the above or make granular choices. Your choices will be applied to this site only. You can change your settings at any time, including withdrawing your consent, by using the toggles on the Cookie Policy, or by clicking on the manage consent button at the bottom of the screen.
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
The technical storage or access that is used exclusively for statistical purposes.
The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Take care. The first time I ran the updater, I got a ‘timeout” message. I had to run it a second time to get “Application successfully updated.” If you use GREP as much as I, this is one bug fix you want in place. A GREP that doesn’t GREP all the way could be bad news.
I love this artwork!!!!
Thanks! It’s an actual photo taken from inside my hard drive before running the fix.
Just curious about why this comes as a plugin when I could have thought an update would do ?
Great point, Loic. I believe it is much more difficult for Adobe to release a full update to the app. So when there is an “emergency” and they need to patch a bug quickly, they use this kind of “hot fix.”
Thanks SO much for this. I was trying to clean up some text before styling it and needed to run a bunch of saved GREP searches. I was on a plane, so I couldn’t swear. You guys saved me once again!
I have a problem by using grep.
I have to search any lowercase letter after a space and before a space and change it to italics. For this I use the code: (\x{0020}\l\x{0020})
It search fine.
But I want to avoid letter ‘a’ and the expression can be search only letters from b to z in lower case because a is used as a ‘word’ in many places instead of character variable.
Secondly, if the lower case single character is ended with number then the number goes to subscript and the lower case single character becomes italics.
Thirdly, if the lower case single character are ended with coma (,) for example a, b, c, d etc. it also goes italics except coma.
This problem arise in physics text where lower case single character represented as variables.
Please suggest me appropriate grep code so that I can avoid changing them manually to italics.
@Rajiv: This article is probably not the best place to get help on grep expressions. I would recommend our forums, or using facebook.com/groups/indesignsecrets
However, there are a couple of ways to handle this. One is to use:
\b[b-z]\b
(\b means “word boundary” and [b-z] means all the characters from b to z. The nice thing about this is that it applies even if there are no spaces, such as “b+c=d”.However, of course sometimes you want to apply the italic to “a” such as a^2+b^2. So no grep expression will ever be perfect for math and physics.
Thanks David.
I tried above expression. It works for all the single characters followed by a space but it stopped where mathematical symbol appear after character. For example: b+c=d.
The above expression stopped after searching b. And not search c and d in this expression. How can I ignored mathematical symbol and it search all the three characters.
If I search a1, b1, c1 then this expression can’t search anyone.
For subscript I use the expression:
(?<=[[:alpha:]])[[:digit:]]+
or
Your expression with modified code:
(?!=\b[b-z]\b)\d+