Sure. Working from the inside out:
Note that grep isn't the most efficient here because it will go on testing even after a match is found. For a short array/list it won't matter much. For a longer array/list you might want List::Util::any instead.
In reply to Re^3: delete multiple string blocks
by hippo
in thread delete multiple string blocks
by grandagent
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |