For example:
print "$_\n" if !/^,/ && !/,$/ && !/,,/ && /^[a-zA-Z,]$/;
In reply to Re: regex: only want [a-zA-Z] and comma chars in a string
by delirium
in thread regex: only want [a-zA-Z] and comma chars in a string
by heezy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |