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


in reply to Regular expressions

if will only look for the first occurrence. You're looking for while...

Paul