in reply to Re: Howto strip 42 from comma separated list using s///
in thread Howto strip 42 from comma separated list using s///
s/(,42|42,)//g;
The problem with this is that a list, by definition, might contain only one element. What if that element is 42?
|
|---|