response.body.scan(/<a.*?a>/)

(Note the question mark.)

Read up on greedy versus non-greedy matching in regular expressions.