目录

  • 1 Assessment 01: Publication项目01:出版物
    • 1.1 介绍课程评估
    • 1.2 项目1 出版物简介
    • 1.3 2019金职院怀卡托办学年鉴参考
    • 1.4 总 设计技能介绍
    • 1.5 设计技能 评估细节
    • 1.6 设计技能作业页面介绍视频
    • 1.7 相关资料下载
  • 2 Final copies for Annual Report / 年鉴最终文字稿
    • 2.1 年鉴详细资料
      • 2.1.1 年鉴目录
      • 2.1.2 年鉴:1招生篇
      • 2.1.3 年鉴:2管理篇
      • 2.1.4 年鉴:3教学篇
      • 2.1.5 年鉴:4学生活动与素养提升
      • 2.1.6 年鉴:5社会影响力
      • 2.1.7 年鉴:6办学报告总结
    • 2.2 年鉴参考网址
    • 2.3 课程视频
    • 2.4 分组
  • 3 设计过程及设计思维
    • 3.1 课程PPT
    • 3.2 课程视频
    • 3.3 WHAT IS THE DESIGN PROCESS? WHY IS IT HELPFUL?
      • 3.3.1 Microsoft Word - NEH 2017_Bibliography - Primary sources and digital tools
      • 3.3.2 TeacherAlignmentsCAC18
      • 3.3.3 DDPROCESS_Worksheet_with_Notes
    • 3.4 The 7 Steps of a Professional Design Process
    • 3.5 5 Stages in the Design Thinking Process
    • 3.6 课后作业
  • 4 Plagiarism vs Referencing抄袭与参考
    • 4.1 抄袭与借鉴PPT
    • 4.2 课程视频
    • 4.3 如何界定借鉴和抄袭
      • 4.3.1 如何界定借鉴和抄袭(英文版))
    • 4.4 借鉴≠抄袭
    • 4.5 设计中的抄袭与逆袭
  • 5 DESIGNING DESIGN / 设计中的设计
    • 5.1 课程PPT
    • 5.2 课程视频
    • 5.3 原研哉大师:什么是设计?
    • 5.4 原研哉“留白“设计理念
  • 6 年鉴设计中运用到的InDesgin知识
    • 6.1 Find and replace content and objects
    • 6.2 Find and change colors
    • 6.3 Find and change text
    • 6.4 Find and change formatted text
    • 6.5 Tips for constructing GREP searches
    • 6.6 Find and change objects
  • 7 DESIGN HISTORY / 设计史
    • 7.1 课程PPT
    • 7.2 课程视频
    • 7.3 设计理论研究的类型意义方法
    • 7.4 网址推荐
  • 8 信息可视化设计
    • 8.1 DATA-VIS课程PPT
    • 8.2 给设计师的数据可视化指南
    • 8.3 13 Powerful Ways to Visualize Your Data (with Examples)
    • 8.4 课程视频
    • 8.5 60 Modern Annual Report Design Templates (Free and Paid)
  • 9 Assessment 02: Visual Identity System (V.I.S.)企业识别
    • 9.1 课程介绍及安排
    • 9.2 视频文件
    • 9.3 视频文件2
    • 9.4 课程文件
    • 9.5 扩展文件
  • 10 品牌手册设计
    • 10.1 课程介绍
    • 10.2 视频文件
    • 10.3 资料下载
    • 10.4 扩展知识点(一个完整的品牌手册需要的十大内容要怎么写呢?)
    • 10.5 扩展知识点2(品牌设计怎么做?)
    • 10.6 扩展知识点3(创业必读:一本手册,帮助星巴克、可口可乐等成了大牌! )
Tips for constructing GREP searches

Tips for constructing GREP searches


Here are some tips for constructing GREP expressions.


  • Many searches under the GREP tab are similar to those under the Text tab, but be aware that you need to insert different codes depending on which tab you’re using. In general, the Text tab metacharacters begin with a ^ (such as ^t for a tab) and GREP tab metacharacters begin with a \ (such as \t for a tab). However, not all metacharacters follow this rule. For example, a paragraph return is ^p in the Text tab and \r in the GREP tab. For a list of the metacharacters used for the Text and GREP tabs, see Metacharacters for searching.

  • To search for a character that has symbolic meaning in GREP, enter a backslash (\) before the character to indicate that the character that follows is literal. For example, a period ( . ) searches for any character in a GREP search; to search for an actual period, enter “\.”

  • Save the GREP search as a query if you intend to run it often or share it with someone else. (See Find/change items using queries.)

  • Use parentheses to divide your search into subexpressions. For example, if you want to search for “cat” or “cot,” you can use the c(a|o)t string. Parentheses are especially useful to identify groupings. For example, searching for “the (cat) and the (dog)” identifies “cat” as Found Text 1 and “dog” as Found Text 2. You can use the Found Text expressions (such as $1 for Found Text 1) to change only part of the found text.


GREP search examples


Follow these examples to learn how to take advantage of GREP expressions.


Example 1: Finding text within quotation marks


Suppose you want to search for any word enclosed in quotation marks (such as “Spain”), and you want to remove the quotation marks and apply a style to the word (so that it becomes Spain instead of “Spain”). The expression (")(\w+)(") includes three groupings, as indicated by parentheses ( ). The first and third groupings search for any quotation mark, and the second grouping searches for one or more word characters.

You can use the Found Text expressions to refer to these groupings. For example, $0 refers to all found text, and $2 refers to only the second grouping. By inserting $2 in the Change To field and specifying a character style in the Change Format field, you can search for a word within quotation marks, and then replace the word with a character style. Because only $2 is specified, the $1 and $3 groupings are removed. (Specifying $0 or $1$2$3 in the Change To field would apply the character style to the quotation marks as well.)

GREP example

GREP example


A. Finds all word characters enclosed in quotation marks B. The character style is applied to the second grouping (the word) while the first and third groupings (open and close quotes) are removed C. Character style specified 


This example searches only for single words enclosed in quotation marks. If you want to search for phrases enclosed in parentheses, add wildcard expressions, such as (\s*.*\w*\d*), which looks for spaces, characters, word characters, and digits.


Example 2: Phone numbers


InDesign includes a number of search presets that you can choose from the Queries menu. For example, you can choose the Phone Number Conversion query, which looks like this:

\(?(\d\d\d)\)?[-. ]?(\d\d\d)[-. ]?(\d\d\d\d)

Phone numbers in the United States can appear in a variety of formats, such as 206-555-3982, (206) 555-3982, 206.555.3982, and 206 555 3982. This string looks for any of these variations. The first three digits (\d\d\d) of the phone number may or may not be enclosed in parentheses, so a question mark appears after the parentheses: \(? and \)?. Note that the backslash \ indicates that the actual parenthesis is being searched for and that it’s not part of a subexpression. The brackets [ ] locate any character within them, so in this case, [-. ] finds either a hyphen, a period, or a space. The question mark after the brackets indicate that the items within it are optional in the search. Finally, the digits are enclosed in parentheses, which signify groupings that can be referred to in the Change To field.

You can edit the grouping references in the Change To field to suit your needs. For example, you could use these expressions:

206.555.3982 = $1.$2.$3

206-555-3982 = $1-$2-$3

(206) 555-3982 = ($1) $2-$3

206 555 3982 = $1 $2 $3


Additional GREP examples


Experiment with the examples in this table to learn more about GREP searches.


Expression

Search string

Sample text

Matches (in bold)

Class of characters

[ ]

[abc]

Finds the letter a, b, or c.

Maria cuenta bien.

Mariacuentabien.

Beginning of paragraph

^

^~_.+

This searches the beginning of the paragraph (^) for an em dash (~_) followed by any character ( . ) one or more times (+).

“We saw—or at least we think we saw—a purple cow.”

—Konrad Yoes

“We saw—or at least we think we saw—a purple cow.”

—Konrad Yoes

Negative lookahead

(?!pattern)

InDesign (?!CS.*?)

The negative lookahead matches the search string only if it is not followed by the specified pattern.

InDesign, InDesign 2.0, InDesign CS, and InDesign CS2

InDesignInDesign 2.0, InDesign CS, and InDesign CS2

Positive lookahead

(?=pattern)

InDesign (?=CS.*?)

The positive lookahead matches the search string only if it is followed by the specified pattern.

Use similar patterns for negative lookbehinds (?<!pattern) and positive lookbehinds (?<=pattern).

InDesign, InDesign 2.0, InDesign CS, and InDesign CS2

InDesign, InDesign 2.0, InDesign CS, and InDesign CS2

Groupings

( )

(quick) (brown) (fox)

The quick brown fox jumps up and down.

The quick brown fox jumps up and down.

All found text = quick brown fox; Found Text 1= quick; Found Text 2 = brown; Found Text 3= fox

Non-marking parentheses

(?:expression)

(quick) ($:brown) (fox)

The quick brown fox jumps up and down.

The quick brown fox jumps up and down.

All found text = quick brown fox; Found Text 1= quick; Found Text 2 = fox

Case-insensitive on

(?i)

(?i)apple

You can also use (?i:apple)


Apple apple APPLE

AppleappleAPPLE

Case-insensitive off

(?-i)

(?-i)apple

Apple apple APPLE

Apple apple APPLE

Multiline on

(?m)

(?m)^\w+

In this example, the expression looks for one or more (+) word characters (\w) at the beginning of a line (^). The (?m) expression allows all lines within the found text to be treated as separate lines.

(?m)^\w matches the beginning of each paragraph. (?-m)^\w matches only the beginning of the story.

One Two Three Four Five Six Seven Eight

One Two ThreeFour Five SixSeven Eight

Multiline off

(?-m)

(?-m)^\w+

One Two Three Four Five Six Seven Eight

One Two Three Four Five Six Seven Eight

Single-line on

(?s)

(?s)c.a

The searches for any character ( . ) between the letters c and a. The (?s) expression matches any character, even if it falls on the next line.

(.) matches anything other than a paragraph return. (?s)(.) matches anything, including paragraph returns.

abc abc abc abc

abc abcabc abc

Single-line off

(?-s)c.a

abc abc abc abc

abc abc abc abc

Repeat number of times

{ }

b{3} matches exactly 3 times

b(3,} matches at least 3 times

b{3,}? matches at least 3 times (shortest match)

b{2,3} matches at least 2 times and not more than 3

b{2,3}? matches at least 2 times and not more than 3 (shortest match)

abbc abbbc abbbbc abbbbbc

abbc abbbc abbbbc abbbbbc

abbc abbbc abbbbc abbbbbc

abbc abbbc abbbbc abbbbbc

abbc abbbc abbbbc abbbbbc

abbc abbbc abbbbc abbbbbc