Memuat
Memuat
Want to go deeper?
Join one of our courses or ask us directly on WhatsApp.
Picked from the software, topic, and level of “Class InDesign #47: GREP Styles: Automatically Formatting Prices, Percentages, and Phone Numbers”.
Other ways we can help with Adobe InDesign.
Learn with a mentor
Scheduled Graphic Design courses with live guidance and a certificate.

Course/Training Adobe InDesign — Complete Adobe Indesign Master Class
★ 5.0 (4)

Course/Training Graphic Design — Photoshop and Illustrator Ultimate Class: 100+ Practice Projects
★ 5.0 (6)

Course/Training Canva — Canva Master Course
★ 5.0 (5)
Have it built for you
No time to learn Adobe InDesign? Our team can do the project for you.

Adobe InDesign Development Service — Learn Adobe InDesign by Making a Recipe Card
★ 5.0 (40)

Development Service: Graphic Design — Mastering Graphic Design with CorelDRAW
★ 5.0 (8)

Development Service: HTML5 Canvas
★ 5.0 (7)
Get notified about new Adobe InDesign classes
At most one email a week. Unfollow anytime with one click.
The full narration of this video. The current sentence is highlighted while the video plays; click any sentence to jump there.
This is what we'll create in this episode, a promotional brochure where every price, discount percentage, and phone number is automatically formatted with GrabStyle. Let's get started. Hello, welcome back to the Complete Adobe InDesign Series from Cerdas Inovasi Digital. Grab is a pattern language for searching text, for example, all words that start with rupiah followed by numbers. GrabStyle applies a style character to every text that matches this pattern. Open the promotional brochure file.
Its content includes many prices in rupiah, discount percentages, and WhatsApp numbers. We want all prices to be bold and orange, and discount percentages to appear red, without selecting each one individually.
Create two character styles, price containing bold and orange, and discount containing bold and terracotta red. GrabStyle will call these two character styles.
Double-click the promo paragraph style, then select the GrabStyle category. Click New GrabStyle. In Apply Style, select price, and in Text, type the pattern rupiah backslash dplas dot backslash dplas. This pattern means rupiah followed by numbers, a dot, and numbers again.
Check Preview All prices like 38 thousand rupiah and 45 thousand rupiah are now bold and orange. The Grab pattern recognizes any number, so new prices typed later will also be automatically formatted. Add the second GrabStyle, apply the discount style for the pattern backslash dplas percent, which is numbers followed by a percentage sign.
Also add the pattern for WhatsApp numbers 08 followed by numbers with the price style.
Click OK then type a new paragraph containing the family package only 120 thousand rupiah, saving 15%. Once finished typing, the price and percentage are automatically formatted without manual intervention.
Done We have now understood Grab as a pattern, created supporting character styles, added Grab styles for prices, percentages, and phone numbers, and seen the automatic formatting while typing. In the next episode, we will create object styles for frames. Need a layout design for a magazine, book, brochure, product catalog, company profile, or annual report? Cerdas Inovasi Digital provides layout and print design services, as well as InDesign courses from beginner to advanced. Want to master the entire series, 104 episodes from the interface to magazine and book projects? All episodes, complete with step-by-step PDF guides, exercise files, and project files, are available to premium tutorial subscribers. Subscribe starting at 69,000 rupiah per month, save 28% with the 12-month package, or pay once 999,000 for lifetime access. Want just one class? Buy individual classes with lifetime access. Subscribe now at the premium page cerdasinovasidigital.com Contact us via WhatsApp or visit cerdasinovasidigital.com Thank you for watching, see you in the next episode.
Type a question or keyword; we find the part of this episode that explains it and jump the video there.
Notes are saved with the current video time and are only visible to you.
Stuck on a step? Ask here; the instructor and other learners can answer.
No questions yet.

Cerdas Inovasi Digital Team
Software developers, BIM & 3D engineers, and AI practitioners
We build software, BIM models, games and AI automations for clients every day, and turn that hands-on work into step-by-step classes: every step is shown on screen and comes with a PDF guide you can keep.
See our clients →