in reply to Get chars between 2 markers using regular expressions

my @wanted=/He[0-2](.*?)~~/g;