![]() ![]() In the past two decades, Australia has become one of the most open economies in the world with average tariffs at less than 3.9 per cent. Only one in 20 Australian companies exports their goods or services.2 This is despite the opportunities provided by three decades of growth in the economies of our global neighbourhood, across the Asian region.Īustralian industry has gone through a major transformation through the same period, with the phased collapse of tariffs and other forms of industry assistance. With 17 of the G20 countries quietly erecting some form of trade protection in the six months immediately following the global financial crisis, it is not surprising that business has grown more skeptical of the power of the Free Trade Agreement.1 So far it is working but I am worried that there is an instance that I haven't considered which would mean my expression would have to change. So for example in the following text only the 1 and the 2 at the end of the sentences would be superscripted. I have come up with this but it feels clumsy to me and there must be something more elegant and straightforward. I am trying to create an expression which will find digits in text that I can then automatically superscript so as to indicate footnotes. To learn more about GREP, visit: Jat 6:16 pm $1 (and apply paragraph style that includes auto numbers) ![]() Reverse first and last name (but watch out for middle names or initials, too)Īfter reversing the names (see above), fix any last names that started with Van or De.įind and remove duplicate paragraphs/lines in a listįind lists in which people have actually typed a number followed by a period followed by a space, and apply automatic numbered list style. Note that the dollar and dot have to be ‘escaped’ because they normally mean something different.įind anything inside parentheses (again, parens need to be escaped)Įscape everything that is, find (a+b*c) exactly, without having to worry about escaping each special character.Īdd an anchored object at the beginning of each paragraph (cut object to clipboard first) This uses ‘Positive Lookbehind’ and ‘Positive Lookahead’įind a dollar sign followed by one digit, a period, and two digits. Unfortunately, it fails on 355/113 (which happens to be a reasonably good approximation of ?, proving that nothing is perfect).įind any kind of a, no matter the accent, including a, á, à, ä, etc.įind st, rd, or th ordinals (such as 1st, 2nd, 3rd) that follow a digit?in order to apply superscript to just the ordinal (not the digit).įind any text inside parentheses, but not including the parentheses. Robust fraction grep: Will find fractions, but leave out dates such as 6/98, 9/11, or. or )įind any four digits (the curly brace expression is not found in the InDesign menu) Milk Chocolate, milk chocolate, milk Chocolate, Milk chocolateĬolor or colour (the ? means the previous character or expression may or may not be there)Īny string of letters that starts with c and ends with e, such as chocolate, Chocolate, case, coarse, etc.Īny whole word that begins with c and ends with eĮxactly the same as above, but using \b for ‘word boundary’ Always look for that flyout menu! Expressing Or (Milk|Dark) Chocolate Let’s focus the comments below on solutions, rather than questions.Īnd remember: you don’t need to memorize all these codes. Note: Please don’t use the comments below to ask “what’s the grep code for…”? Instead, use our forums to ask those kinds of questions. Or, if I think of new ones, I’ll just update this table from time to time. If it’s really helpful, I may steal it and add it to the table in this blog post. Then, if you have a grep code you want to share with others, feel free to add it to the comments below. You may need to tweak it a little, or combine some of these to achieve your task. But you don’t always have to figure out all the grep codes yourself! Use the table below to find a grep expression that is close to what you’re looking for. It shows up in several places in InDesign, notably the Find/Change dialog box and the GREP Styles feature. ![]() GREP is an incredibly powerful technology for finding and replacing text. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |