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


in reply to regular expression for getting text between 1. and 2.

Just leave the ? out.

1[)|.](.*)2[)|.]