User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
public:nnels:etext:find-and-replace [2019/01/07 00:10]
sabina.iseli-otto
public:nnels:etext:find-and-replace [2024/05/29 20:30] (current)
rachel.osolen
Line 1: Line 1:
-======Find Replace======+======Using Find and Replace======
  
 Microsoft Word's Find & Replace function is a powerful feature that can be used in a variety of ways while e-text editing. Microsoft Word's Find & Replace function is a powerful feature that can be used in a variety of ways while e-text editing.
Line 7: Line 7:
 {{ :public:nnels:etext:findreplace2.png?300 |}} {{ :public:nnels:etext:findreplace2.png?300 |}}
  
-A few that are used often in etext editing are:+A few that are used often in etext reformatting are:
   * ''^p'' (Paragraph marker - ¶)   * ''^p'' (Paragraph marker - ¶)
 +  * ''^l'' (Newline Break - ↵)
 +  * ''^w'' (White/Blank Space)
   * ''^$'' (Any letter)   * ''^$'' (Any letter)
   * ''^#'' (Any digit)   * ''^#'' (Any digit)
   * [[http://accessinghigherground.org/handouts2013/HTCTU%20Alt%20Format%20Manuals/Formatting%20with%20Word/Old%20Material/Handouts/05%20Advanced%20Find%20and%20Replace%20in%20Microsoft%20Word.pdf|More]]   * [[http://accessinghigherground.org/handouts2013/HTCTU%20Alt%20Format%20Manuals/Formatting%20with%20Word/Old%20Material/Handouts/05%20Advanced%20Find%20and%20Replace%20in%20Microsoft%20Word.pdf|More]]
  
 +<note tip>Word has a lot of options to find letters (^$) and numbers (^#) when using Find & Replace, but these only work with the wildcard option //off// (which it is by default). Only turn the wildcard option on if you're using [[public:nnels:etext:regex|Regular Expression options]]. Read the info page carefully on when things apply with the wildcard option on/off.
 +</note>
  
 +=====Advanced Find and Replace Using Wildcards=====
  
-Below are few examples of Find Replace in use; please feel free to add more as you come across them or come up with them!+You can also use wildcards for more advanced work. Learn more at the following links: 
 +  * [[https://support.office.com/en-us/article/Find-and-replace-text-and-other-data-in-a-Word-document-c6728c16-469e-43cd-afe4-7708c6c779b7?ui=en-US&rs=en-US&ad=US#__toc282774574|Using Wildcards]]: the  "Use codes to find letters, formatting, fields, or special characters" is very helpful. 
 +  *[[http://wordmvp.com/FAQs/General/UsingWildcards.htm|Finding and replacing characters using wildcards in MS Word]] 
 + 
 +=====Problems and Solutions Using Find and Replace===== 
 + 
 +In this section you will find examples of different ways to use ''Find and Replace'' to help you with some common reformatting issues. 
 + 
 +<note tip>If you don't see the solution to your problem on this page, go to the [[public:nnels:etext:regex|Using Regular Expressions (Regex)]]. If you still can't find it, try using a wild card for find and replace, or write your own Regex.</note> 
 + 
 +<note>If you discover a solution to a problem that is not on this page, please contact the Production Coordinator. They can teach you how to add your own solutions through updating this wiki page. All updates to this page //must// be shared with the full team.</note> 
 + 
 +---- 
 + 
 +<WRAP center round box 80%> 
 +**PROBLEM**: ALL CAPITAL LETTERS. We have to [[public:nnels:etext:capitalization|change All Caps to Sentence Case or Capitalize Each Letter]] 
 + 
 +**SOLUTION**: 
 +  * Open ''Advanced Find & Replace'' and turn on ''wild cards''
 +  * Close ''Advanced Find & Replace'' 
 +  * Enter ''[A-Z]{2,}'' into the search bar and it will find all the all capital words. 
 + 
 +Note: This also finds acronyms and abbreviations, so you have to just scroll through all of the all cap instances and manually change any that are proper words and phrases into either Sentence case of Capitalize Each Word. You can also create a [[public:nnels:etext:keyboard-shortcuts|keyboard shortcut]] for change capitalization. 
 + 
 +Here is a quick video demo: [[https://somup.com/crl6bv0541]] 
 + 
 +</WRAP>
  
 ---- ----
Line 45: Line 76:
  
 Replace with: ''^p'' Replace with: ''^p''
 +
 +If that doesn't work try:
 +
 +Find: ''^l''
 +
 +Replace with: ''^p''
 +
  
 In LibreOffice, replace all ''\n'' with ''\p'' to convert them to paragraphs. In LibreOffice, replace all ''\n'' with ''\p'' to convert them to paragraphs.
Line 50: Line 88:
  
 ---- ----
 +<WRAP center round box 80%>
 +**PROBLEM**: There are extra white/blank spaces in the document.
 +
 +**SOLUTION**: Find and remove all extra spaces and replace with a single space.
 +
 +Find: ''^w^w'' for double spaces ''^w^w^w'' for triple, and so on.
 +
 +Replace with: ''^w'' for a single space
 +
 +If that doesn't work try:
 +
 +Find: ''^032^032'' for double spaces ''^032^032^032'' for triple, and so on.
 +
 +Replace with: ''^032'' for a single space
 +
 +</WRAP>
 +
 +----
 +
  
 <WRAP center round box 80%> <WRAP center round box 80%>
Line 77: Line 134:
 <WRAP center round box 60%> <WRAP center round box 60%>
  
-{{:nnels:documentation:content:production:screen_shot_2015-08-06_at_6.10.55_pm.png?300|}}+{{z_archive:screen_shot_2015-08-06_at_6.10.55_pm.png?300|}}
  
 Find: ^#^pMacG_9781770494220_5p_all_r1.indd ^#^p10/27/14 11:56 AM^p Find: ^#^pMacG_9781770494220_5p_all_r1.indd ^#^p10/27/14 11:56 AM^p
Line 93: Line 150:
  
 ''Find'': ^b ''Find'': ^b
 +
 ''Replace'': [Leave blank] ''Replace'': [Leave blank]
  
Line 98: Line 156:
  
 </WRAP> </WRAP>
 +
 +----
 +
 +<WRAP center round box 80%>
 +**PROBLEM**: Need to change a style in a large text, but don't want to search page-by-page for it.
 +
 +**SOLUTION**: Find and replace using the font settings in the advanced Find and Replace Box.
 +
 +''Find'': select the ''Format'' dropdown menu and select the font
 +''Replace'': select the ''Format'' dropdown menu and select the font
 +
 +For more information see [[https://www.youtube.com/watch?v=7j92Py8J3qg|this video]] for more information
 +
 +</WRAP>
 +
 +
 +----
 +
 +<WRAP center round box 80%>
 +**PROBLEM**: You need to find a specific applied style to edit.
 +
 +**SOLUTION**: You can either use Find to locate a style and change it manually with the style pane, or you can use Find & Replace.
 +
 +To ''Find'' a Style:
 +
 +  - Keep the ''Find'' box empty.
 +  - Click on the ''More'' button if it is available.
 +  - Click on the ''No Formatting'' button, if it is enabled.
 +  - Click on the ''Format'' button and select ''Style''
 +  - Select the style for which you want to search.
 +  - Click on ''OK''.
 +  - Click on ''Find Next''
 +
 +To ''Replace'' a style:
 +
 +  - Same directions as above for ''Find''
 +  - Repeat directions for ''Replace''
 +
 +</WRAP>
 +
  
 ====== Q&A ====== ====== Q&A ======
Line 108: Line 206:
 {{:public:nnels:etext:findreplaceheadings.png?linkonly|}} {{:public:nnels:etext:findreplaceheadings.png?linkonly|}}
  
 +
 +[[public:nnels:etext:start|Return to main eText Page]]
public/nnels/etext/find-and-replace.1546819822.txt.gz · Last modified: 2019/01/07 00:10 by sabina.iseli-otto