in reply to Split without removing characters
my $foo = "Hello WorldFoo BarPerl MonksSlash Dot"; print "$_ \n" for ($foo =~ /([A-Z][a-z]+)/g); __OUTPUT__ Hello World Foo Bar Perl Monks Slash Dot [download]