Special Replacement Operators - %%srfound %% Special Operation
A special extension to the %%srfound%% special replacement operator is available to remove one or more characters from the search hit. The form is:
%%srfoundcharacters to remove specified here%%
where characters to remove specified here is one or more characters which, if present in the search hit, will be removed from the replace.
Regular expression mode is not required for this special extension.
%%srfound %% Special Replace Examples | |
Search String: Sample Search Hit: Replace String: Replace Results: Explanation: |
Find Me Find Me %%srfound de%% FinM The replacement string removes any instances of space, 'd', and 'e' characters from the search hit. Therefore if a replace is permitted all instances of the string 'Find Me' would be changed to 'FinM' |
Search String: Sample Search Hit: Replace String: Replace Results: Explanation: |
Find*Me |
Search String: Sample Search Hit: Replace String: Replace Results: Explanation: |
+10[0-9 .]*[0-9.] |