DeleteAllWildcardMatches
Sub DeleteAllWildcardMatches($source As String, $wildcard As String) As String
Removes all wildcard matches from the string $source. The result is returned as a string. $wildcard is a wildcard expression that consists of a start text, an asterisk, and an end text with the following syntax:
StartText*EndText
DeleteAllWildcardMatches is case-insensitive.
Parameters
- $source ... String expression from which all wildcard matches are removed.
- $wildcard ... Wildcard expression to search for (StartText*EndText).
Example:
Dim $s = $sMem
'Delete all option tags from HTML source code
$s = DeleteAllWildcardMatches($s, "<option*</option>")