PreviousNext

Replace text in the editor views

Replace text

    1. On the Edit menu, click Replace.
    2. In the Find what field, type an expression.
    3. By default, the BlackBerry® IDE inserts regular expression codes into your search string. To define your own regular expressions, select the Regular expression check box.
    4. In the Replace with field, type the replacement expression.
    5. Set or clear the Match whole word only or Match case check boxes.
    6. Click Find or Replace.
    7. Perform one of the following actions:

      · To replace the selected expression, click Replace.

      · To replace all occurrences of the expression in your source file, click Replace All.

Replace all strings in a range

    1. In the editor, select a range of lines.
    2. On the Edit menu, click Replace.
    3. In the Find what field, type a string.
    4. In the Replace with field, type the replacement string.
    5. Click Replace All.

Related topic


   BlackBerry