Ash vs. Evil Dead
AwakePrzebudzenie

Adobe InDesign Interactive Digital Publishing by Ted Padova


Adobe InDesign Interactive Digital Publishing by Ted Padova

Author:Ted Padova
Language: eng
Format: epub
Publisher: Apress, Berkeley, CA


2. Press Ctrl/⌘+F to open the Find/Change dialog box. Since we’re going to type a GREP expression, click the GREP tab in the Find/Change dialog box.

3. Type the expression in the Find What text box. In this example, the following expression will find whitespace at the end of a paragraph and delete multiple carriage returns. It’s very simple and even the most insecure programmer can easily replicate this expression:

\s+$

The expression is just four characters—a backslash, a lowercase s used for any whitespace, a + used for one or more instances, and the $ symbol used for the end of paragraph location.

If you forget some reserved characters, InDesign can help you out a little. You won’t find all reserved characters in the GREP pane, but there are many common definitions that you can choose by opening the @ menu.

Type just \s+ and leave the $ symbol out of the equation. Open the Find What menu by clicking the @ symbol and scrolling down to Locations. In the submenu, select End of Paragraph, as shown in Figure 6-50. The $ is added to the expression in the Find What text box.

Figure 6-50.Open the Find What menu by clicking the @ symbol and choosing End of Paragraph in the Locations submenu



Loading...
Download




Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Popular ebooks
Learning React: Functional Web Development with React and Redux by Banks Alex & Porcello Eve(590)
Deep Learning with Python by François Chollet(462)
Architecting Modern Java EE Applications: Designing lightweight, business-oriented enterprise applications in the age of cloud, containers, and Java EE 8 by Daschner Sebastian(310)
PHP 7 Data Structures and Algorithms by Mizanur Rahman(275)
React Native - Building Mobile Apps with JavaScript by Novick Vladimir(232)
Learning Angular - Second Edition by Christoffer Noring(216)
Dependency Injection in .NET by Mark Seemann(166)
PHP 7 Zend Certification Study Guide by Andrew Beak(162)
Building Progressive Web Apps: Bringing the Power of Native to the Browser by Ater Tal(153)
Android App Development by Franceschi Hervé J.;(152)
The Node Craftsman Book by Manuel Kiessling(147)
Pro JavaFX 9 by Johan Vos Stephen Chin Weiqi Gao James Weaver & Dean Iverson(142)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(130)
Learning HTTP/2: A Practical Guide for Beginners by Stephen Ludin & Javier Garza(130)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(127)
Don't Make Me Think, Revisited: A Common Sense Approach to Web Usability by Steve Krug(124)
Head First Java by Kathy Sierra(119)
Data Visualization with Python and JavaScript: Scrape, Clean, Explore & Transform Your Data by Kyran Dale(118)
Isomorphic JavaScript Web Development: Universal JavaScript with React and Node by Konstantin Tarkus(116)
Writing for the Web: Creating Compelling Web Content Using Words, Pictures and Sound (Eva Spring's Library) by Lynda Felder(108)