You're short many valid characters, but here goes:
@ok = grep !/[^a-zA-Z0-9.:]/, @list;
or
@ok = grep /^[a-zA-Z0-9.:]*\z/, @list;
In reply to Re: regex to detect any non digit and number
by ikegami
in thread regex to detect any non digit and number
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |