|
The Find and Replace (Ctrl+F) dialog appears at the top of your screen. When first opened, the dialog displays a single line that can be used to search and replace in the open file. For more options, click the green + sign on the right. This will display a second line with additional options including matching case, searching a selected block, cross file search, and more.
The main part (top line) of the dialog can be used to search an open document and (if desired) replace or delete a word or phrase:
| 1 | Click Edit, Find/Replace or press Ctrl+F. |
| 2 | The Find/Replace dialog bar will open at the top of your screen. This dialog bar will remain open until you close it. Complete the required information as follows: |
| Find: Enter the word or phrase you want to search for in the Find box. Text can be typed, or it can be copied (Ctrl+C) and pasted (Ctrl+V). If a word or phrase is highlighted when you open the Find/Replace dialog, that word or phrase will automatically be copied to the Find box. |
| Special Characters: Click the Special Characters button to the right of the Find box (or to the right of the Replace box) to display a list of wildcards or special characters that can be used in your search. Click on any Special Character to insert it in the Find box (or the Replace box). Some special characters can also be entered by copying them from the document and pasting them in the Find or Replace box. The Tips and Suggestions section below has more information about how some of the special characters can be used. |
| Replace: Enter the replacement word or phrase in the Replace box. If you want to delete the word or phrase in the Find box, leave the Replace box blank. Clicking Tab will move from the Find to the Replace box; Shift+Tab will return to the Find box. |
| Drop-down lists: The down arrows to the right of the Find and Replace boxes can be used to enter terms from previous searches. |
| 3 | Start the search by clicking Next or Prev (previous). After starting the search, you can return the cursor to the position at which the search started by clicking Origin. |
| 4 | The cursor will move to and highlight the next (or previous) word or phrase that matches the word or phrase you specified. Click one of the following: |
| & Cont: Replace the highlighted word or phrase with the word or phrase you specified in the Replace box and highlight the next occurrence of the word or phrase in the Find box. |
| & Stop: Replace the highlighted word or phrase with the word or phrase you specified in the Replace box without moving the cursor. |
| All: Replace all occurrences of the target word or phrase with the word or phrase indicated in the Replace box. |
| Next or Prev: Skip the highlighted word or phrase and move to the next (or previous) occurrence of the target word or phrase. |
| 5 | When you have finished, you can leave the Find/Replace panel open for future use or close it. To close the dialog, press Ctrl+F or click green circle with the x on the right side of the dialog. |
More options for your search are available on the second line of the Find/Replace dialog. This section can be displayed or hidden by clicking the green circle with a plus/minus sign on the right side of the dialog or by pressing Ctrl+M.
| Current File/Cross File: If you want to search only the current file, make sure that the "Current File" is showing in the drop box. If you would like to search all of the files in one folder, see Cross-File Search. |
| | Body: Check Body to indicate that you would like your search to include the main text of the document. This does not include footnotes, end notes, headers, footers, or non-printing elements like labels, index markers or annotations. |
| | Notes: Check Notes to indicate that you would like your searfind/replacech to include footnotes and/or end notes. |
| | Elements: Check Elements to indicate that you would like your search to include headers, footers, or non-printing elements like labels, index markers or annotations. If Elements is checked, a list of elements is activated and you should click to indicate which elements you want included in the search. |
| | Block: Check Block if you have selected a block of text and would like to search only within that block. |
| Match Case: Check this box if you want your search to be case sensitive. For example, with this box checked, a search for "John" will find only "John", not "john" or "JOHN". |
| Whole Word: Check this box if you want your search to find only the whole word specified. For example, with this box checked, a search for "run" will find only "run" not "runs" or "running" or "runt." |
| Exact Modifier: Modifiers are accents and other qualifiers (e.g., codes that force various contextual forms in Hebrew and Arabic). You should normally leave this box unchecked. If it is checked, a search for "Zoe" would not find "Zoë." |
| Top/Cursor/Bottom: Click the appropriate radio button to indicate whether you want to start the search at the Top (top of the document), Cursor (cursor position) or Bottom (bottom of the document). |
Shortcut keys: For those who prefer the keyboard to the mouse, Alt + number keys (not the function keys) serve as shortcuts that can be used instead of clicking the buttons with a mouse. For example, press Alt+1 instead of clicking the Next button. These shortcuts are noted on the tooltips of the relevant controls; you can also choose to display them directly on the dialog by checking the option at the bottom of the Find and Replace dialog bar. The Alt+ number shortcut keys are context-sensitive--they will have different functions depending on which dialog bar is active.
Configure Find/Replace: You can set your own default settings for this dialog by clicking the down arrow next to the binoculars icon on the left side of the dialog and then clicking the configure button at the top left. The options are described in the dialog.
Tips and suggestions for effective searches:
| • | To delete every occurrence of a word or phrase, but not replace it, leave the Replace box blank. |
| • | If the same wildcard character is used in the Find box and the Replace box, Nota Bene will insert the character found in the search in the replacement text. For example, to find each instance of the word "paragraph" followed by a number and replace it with the word "section" followed by the same number, use the "any number" wild card in both the Search and the Find boxes. |
| • | If you are searching/replacing in Codes View, use Ctrl+< and Ctrl+> to enter opening and closing command brackets (or you can use the Special Characters button). |
| • | Use "Within String of Characters" to find and delete or replace certain commands. For example, to delete any font commands, go to Codes View and enter the following in the Find box: opening command bracket, then the letters UF, then the "Within String of Characters" and then the closing command bracket. Leave the Replace box blank to delete any UF (use font) commands. |
| • | You can copy from your document and paste into the Find or Replace boxes. |
| • | The last 50 searches are saved and can be entered in the Find box by clicking the drop down arrow at the right side of the Find box. |
| • | If you have Lingua, you can type Greek, Hebrew, Cyrillic, or Arabic text into the Find or Replace box. Text typed will correspond with the keyboard that is active in Nota Bene. Use Ctrl+Shift+G or H or C or A or R to switch to Greek, Hebrew, Cyrillic, Arabic or Roman keyboards. |
Orbis provides a very powerful way of searching all of your files using simple or complex search strings. See Orbis
See also:
Editing
|