Finding and replacing text in a single file
To find (and optionally replace) text in the file you're currently editing, choose Edit > Find > Find… . The find banner opens.
To find, type the desired text into the Find box, and use the left and right arrow buttons to move between occurrences in your text.
To replace text you've found, type the replacement text into the Replace box, and click Replace . To replace all occurrences at once, click All instead. When replacing all occurrences, the number of replacements performed will be shown at the right edge of the Replace box.
Use the find options popup to change find behavior. The options are:
- Ignore Case - Capital and lowercase letters will be considered the same.
- Wrap Around - Upon finding the last occurrence, the next find will restart from the top of the file.
- Find Within Selection Only - Performs finds only within selected text, instead of the whole file.
- Use Regular Expressions - Allows you to find using a regular expression rather than plain text.
- Dot Matches New Line - In regular expressions, the dot (.) character will also match new line characters.
- Use Expanded Find Banner - Makes the find banner larger.
- Recent Searches , and Clear Recent Searches - Reuse (or clear) the last few search terms.
The find banner can be resized from its lower-right corner if desired.
Close the find banner by clicking the X on its right edge.
See also: Using placeholders in find and replace