Created by James Hurrell on Apr 16, 2021
This wizard screen enables you to enter the search string and define various other Advanced parameters if you require. When first displayed however, the two lower advanced option areas (Expression Search In and Regular Expression) are not displayed and will only be displayed when you click the Advanced button.
Entering the search expression (Search in Code)
The upper most area entitled Expression, enables you to enter the character string that you want to search for. To enter a Search Expression: - Left-click in the Find What combo box
- Enter the string that you require.
Notes - Please note that when using the Search in Code feature on results of analyzed ASP applications, to achieve a match, search strings must be located inside any of the following:
- Script tags such as <% ... %>
- "A" link tags using any html attribute which can hold a URL, such as the "href" attribute: <a href="..." >...</a>
- Server scripts tags such as <script runat="...">...</script>
- All the strings that you enter in the combo box will be saved so that you can use them again should you require. Simply click the down arrow on the right-hand side of the combo box and select the string you require from the drop down list. This feature enables you to avoid typing in strings that you search for on a regular basis - up to ten previous strings can be stored.
Match whole word only If you select this option, the results that are returned by the search will correspond exactly to the string you enter in the Expression text box. For example (see text examples below for corresponding numbers): Search String = TITLE[A-Z]+ will identify the following hypothetical results: - 1, 5 for string: TITLES
- 4, 5 for string: TITLEAUTHOR
- 6, for string: TITLES_AUTHOR
- 7, for string: TITLEA_AUTHOR
- 8, for string: TITLES_____AUTHOR
- 9, for string: TITLESAUTHOR
- 11, for string: TITLEdAUTHOR
If you leave this option blank, then the default setting will be applied. In effect this means that the results that are returned by the Search in Code feature will correspond in part to the string you enter in the Expression text box. For example (see text examples below for corresponding numbers): Search String = TITLE[A-Z]+ will identify the following hypothetical results: - 1, 2, 5 for string: TITLES, _TITLES, TITLES
- 4, 5 for string: TITLEAUTHOR
- 6, for string: TITLES_AUTHOR
- 7, for string: TITLEA_AUTHOR
- 8, for string: TITLES_____AUTHOR
- 9, for string: TITLESAUTHOR
- 11, for string: TITLEdAUTHOR
Text Examples: - 'select * from TITLES
- 'select * from _TITLES
- 'select * from vTITLE
- 'select * from TITLEAUTHOR
- 'select * from TITLEAUTHOR, TITLES
- 'select * from TITLES_AUTHOR
- 'select * from TITLEA_AUTHOR
- 'select * from TITLES_____AUTHOR
- 'select * from TITLESAUTHOR
- 'select * from TITLE
- 'select * from TITLEdAUTHOR
Match Case If you select this option, the search will only return results that match the case sensitivity of the string you entered. In other words, if you enter Select, the feature will not return SELECT or select. By default this option is left blank, meaning case sensitivity will be ignored. |
Entering the search expression (Search in BF/Comments)
The upper most area entitled Expression, enables you to enter the character string that you want to search for. To enter a Search Expression: - Left-click in the Find What combo box
- Enter the string that you require.
Notes - All the strings that you enter in the combo box will be saved so that you can use them again should you require. Simply click the down arrow on the right-hand side of the combo box and select the string you require from the drop down list. This feature enables you to avoid typing in strings that you search for on a regular basis - up to ten previous strings can be stored.
Match whole word only If you select this option, the results that are returned by the search will correspond exactly to the string you enter in the Expression text box. For example (see text examples below for corresponding numbers): Search String = TITLE[A-Z]+ will identify the following hypothetical results: - 1, 5 for string: TITLES
- 4, 5 for string: TITLEAUTHOR
- 6, for string: TITLES_AUTHOR
- 7, for string: TITLEA_AUTHOR
- 8, for string: TITLES_____AUTHOR
- 9, for string: TITLESAUTHOR
- 11, for string: TITLEdAUTHOR
If you leave this option blank, then the default setting will be applied. In effect this means that the results that are returned by the Search in Code feature will correspond in part to the string you enter in the Expression text box. For example (see text examples below for corresponding numbers): Search String = TITLE[A-Z]+ will identify the following hypothetical results: - 1, 2, 5 for string: TITLES, _TITLES, TITLES
- 4, 5 for string: TITLEAUTHOR
- 6, for string: TITLES_AUTHOR
- 7, for string: TITLEA_AUTHOR
- 8, for string: TITLES_____AUTHOR
- 9, for string: TITLESAUTHOR
- 11, for string: TITLEdAUTHOR
Text Examples: - 'select * from TITLES
- 'select * from _TITLES
- 'select * from vTITLE
- 'select * from TITLEAUTHOR
- 'select * from TITLEAUTHOR, TITLES
- 'select * from TITLES_AUTHOR
- 'select * from TITLEA_AUTHOR
- 'select * from TITLES_____AUTHOR
- 'select * from TITLESAUTHOR
- 'select * from TITLE
- 'select * from TITLEdAUTHOR
Match Case If you select this option, the search will only return results that match the case sensitivity of the string you entered. In other words, if you enter Select, the feature will not return SELECT or select. By default this option is left blank, meaning case sensitivity will be ignored. Use Regular Expressions Select this option if you want to include Regular Expressions in your search. If you enter an incorrect Regular Expression, the wizard will launch a warning dialog box when you click the Next> button. Click here to find out more about Regular Expressions (the Help Regular Expression button in the wizard will also launch this page.) |
Advanced Options (Search in Code only)
If you want to include more advanced options in your search, then you need to click the Advanced button which will then display the bottom two option fields entitled Expression Search In and Regular Expression. Expression Search In Code except quoted strings and comments | If you select this option, the wizard will search for your expression in all code but will ignore Quoted Strings (i.e. code between quote marks) or Comments (i.e. - / EXAMPLE /) in the code. This option will be checked by default. | Quoted Strings | If you select this option, the wizard will search for your expression in Quoted Strings only (i.e. code between quote marks). This option will be checked by default. | Comments | If you select this option, the wizard will search for your expression in Comments only (i.e. - / EXAMPLE /). You can select more than one of these options if you should require a certain search combination. For example you could check the first two options to search SQL Code and Quoted Strings but ignore Comments. | Regular Expression Use Regular Expressions | Select this option if you want to include Regular Expressions in your search. If you enter an incorrect Regular Expression, the wizard will launch a warning dialog box when you click the Next> button. Click here to find out more about Regular Expressions (the Help Regular Expression button in the wizard will also launch this page.) | |
What to do next...
Once satisfied with your selections, click <Back to return to previous step, Next> to move on to the next step, Finish to go directly to the Report page or Cancel to abort the process. |
See Also
Object Selection (Step 1) | Report (Step 3) | Results
