Products Downloads


French version


 

Access

To find and replace all occurrences of a string in all of the selected sources, select the Replace occurrences option in the context-sensitive menu for either the Result or Total tab in the Multisource Search window.

 

Data entry

Find what

Character string to be located.

If any text (source or help text) is selected in the active document when the dialog box is opened, it is shown in this field.

Default value: search string in the Criteria Definition tab.

 

The associated button lets you select a number of common elements found in regular expressions.

Expression

Description

Any character

Represents any single character (.)

Character range

Enters a range of possible characters ([])

Example: [A-Z]

Line start

Locks the expression at the start of the line (^)

Valid only at the start of an expression.

End of line

Locks the expression at the end of the line ($)

Valid only at the end of an expression.

Stored subexpression

Subexpression that is stored for the Find and Replace function (())

Non-stored subexpression

Subexpression that is not stored (())

Or

Logical OR (|)

Example:  num_bin_2|num_bin_4

Zero, one or more occurrences

Repeats the expression zero, one or more times (*)

One or more occurrences

Repeats the expression at least once (+)

Quantifier

Repeats the expression in a quantified manner (x times, or from x to y times ({})  

Example: {2,5} expression repeated between 2 and 5 times.

 

* equivalent to {0,}

+ equivalent to {1,}

Space

Represents spacing characters (\s)

ID character

Represents a character that can be part of an identifier (for Adelia, except for EBCDIC characters) (\w).

Decimal digit

Represents a digit (\d). Equivalent to [0-9]

 

Replace with

Character string that will be inserted in place of the string specified in the Find what field.

By default, this is the last string used for the Replace function.

 

The associated button lets you select a number of common elements found in regular expressions.

Text found

Represents the text found during the search for a regular expression ($0).

Stored expression [1-9]

Text of the stored expression that corresponds to the selected number ($1-$9).

 

Note: If you are searching for a regular expression and want to include a "$" character in the replacement expression, you must double it ($$) to prevent the system from interpreting it as a stored expression.

 

Check boxes

Match case

Checked

The search concerns the character string exactly as it is entered, with the same use of upper and lower case.

Not checked

The search is not case-sensitive.

 

Regular expression

Checked

The input string is interpreted as a regular expression.

Not checked

The search is performed on the text in the input string.

 

Buttons

Replace all

Finds all occurrences that match the criteria specified in the dialog box and automatically replaces them with the string specified in the Replace with field.

The strings are replaced in all the sources selected in the Criteria Definition tab.

 

Cancel

Closes the dialog box without starting a search.

Keyboard shortcut: Esc.

 

↑ Top of page

  • Aucune étiquette