\ and * are special characters in regexp. (\ is actually special in all literals except heredocs.) You need to escape them by preceeding them with a \.
$value =~ s#\\\*#STAR#g;
In reply to Re: Regex problem
by ikegami
in thread Regex problem
by siraj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |