in reply to Re^2: Howto strip 42 from comma separated list using s///
in thread Howto strip 42 from comma separated list using s///

Just by listing all cases.
s/,42\b|\b42,|^42$//
But next time, ask VB questions on a VB forum.
Perl --((8:>*