Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This options allows you to search by regular expressions or by using a wildcard. See below for more information.

Find using a Regular Expression

To search using regular expressions, check the Use check box and select Regular Expressions. You can use the following regular expression syntax:

.

Any single character

*

Zero or more

+

One or more

^

Beginning of line

$

End of line

\b

Word boundary

\s

White space

\n

Line break

[]

Any one character in the set

[^]

Any one character not in the set

|

Or

\

Escape special character

Replace using a Regular Expression

To replace using regular expressions, check the Use check box and select Regular Expressions. Next, lets assume you want to find and replace all methods that start with Get and end with Result (E.G., GetApplicationResult) and remove the Get keyword. We'd start by building our regex that captures all letters between the characters Get and Result. In the Find What input field we would enter Get(\w+)Result.  Finally, in the Replace With input field we would enter in $1Result and press the Replace All button. All occurrences will now be updated (E.G., ApplicationResult).

 Find using a Wildcard

To search using wildcards, check the Use check box and select Wildcards. You can use the following wildcard syntax:

...