Regex: match beetween two XML tags (multiline) Posted on 19/02/202019/02/2020 by admin (?s)<tag1>(.*?)</tag2>(?s)<tag1>(.*?)</tag2>