In that case you can use
(?s:(?!\]\]).)* [download]
In reply to Re^3: Can't quite get this regex working by moritz in thread Can't quite get this regex working by ultranerds