From the course: Introduction to GREP in InDesign

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

How many?

How many? - InDesign Tutorial

From the course: Introduction to GREP in InDesign

Start my 1-month free trial

How many?

- [Instructor] Up until this point, we've basically looked at finding singular characters. Oftentimes when we know exactly what those characters are, but like so many expressions, they're often several ways to write the same thing. Some ways are just better. For instance, just using the wildcard we learned previously that finds any digit \d. If we do a search on \d on this text here, we can go through and find each individual digit. But what if we wanted to find not the individual digits, but an entire number or string of digits. And what if we don't know how many digits that might be? In the sample, we have different amounts of digits in each of our numbers. We can use the hidden menu and look under Repeat, and find One or More Times. So at least one, but who knows how many? And the expression for that is +. So to find multiple digits in a row, we can write \d followed by the plus sign. Here's an expression that uses One…

Contents