SECTION 1 Source Code Editing
Tip 1: Outsmart Search & Replace (1)
The Search & Replace dialog (Ctrl-H) supports regular expressions, making it an extremely powerful tool when searching and replacing text.
Regular expressions use a special syntax that can express a wider range of search patterns than plain strings can. For a complete list of regular expressions and how to use them, see http://java.sun.com/javase/6/docs/api/java/util/regex/Pattern.html.
Here are a few examples of symbols that are commonly used in search terms.
\n stands for a newline character.
\w stands for any alphanumeric character (as opposed to whitespace or punctuation). ...