# updated, thanks to PerlMouse -- not using \b, though! $str =~ s/(^|,)42(,|$)/$1 && $2/e
In reply to Re: Howto strip 42 from comma separated list using s///
by japhy
in thread Howto strip 42 from comma separated list using s///
by ady
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |