http://www.perlmonks.org?node_id=896599


in reply to Re^3: regex replacement help
in thread regex replacement help

Oh yes. I didn't notice that. Thanks.

I should have written a positive look behind regex

@out = split /(?<=~)/, $string;
--
Regards
- Samar