Remove
It removes the variables with the value, fitting the expression pattern.
Parameters:
| Name | Type, value | Description |
|---|---|---|
| pattern | Regular expression | The removal condition. If it is not given,all elements from the container will be removed. |
Example:
# Declare variables "a", "b" и "c" Set a foo Set b bar Set c foobar Set s ---- # Copy their contents into variable "d" Filter Copy a b c WithParams name=d # Print value of "d" Dump d s # Remove elements related to "d" which contain word "foo" Filter Remove d WithParams pattern=#foo# # print value of "d" Dump d
Result:
d => foo d => bar d => foobar s => ---- d => bar
| Html | Standart Filters | Replace |

