$ echo "12345Red6789" | perl -ape 's/[\s\(]+(r|rd|red)[\s\)]+//gi;' 12345Red6789
The OP said the spaces were optional.
In reply to Re^2: RegEx to match at least one non-adjacent term
by ikegami
in thread RegEx to match at least one non-adjacent term
by Cefu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |