Reply To: GREP – find prices with SKU preceding, but with varying white space types used

Home Page / Forums / InDesign Add-ons (Scripts, Scripting, and Plug-ins) / GREP – find prices with SKU preceding, but with varying white space types used / Reply To: GREP – find prices with SKU preceding, but with varying white space types used

#14357086
David Blatner
Keymaster

Yes, the ? is important if you want to find the “shortest match”. For example, if you search for U.+X you will find most of that sentence. But if you search for U.+?X then you will find just a small bit of text.

does find a nonbreaking space for me. So that is strange. But you might also try (“any horizontal space”)

You might also consider using the number adjuster script:

Free Script to Change All Numbers in a Document using Math

This article was last modified on January 28, 2022

Comments (0)

Loading comments...