Title: List of Test cricket hat-tricks
Content:  In the sport of cricket, a hat-trick is an occasion where a bowler takes three wickets in consecutive deliveries, dismissing three different batsmen. As of June 2021, this feat has only been achieved 46 times in more than two thousand Test matches, the form of the sport in which national representative teams compete in matches of up to five days' duration. The first Test hat-trick was recorded on 2 January 1879, in only the third Test match to take place, by the Australian pace bowler Fred Spofforth, nicknamed "The Demon Bowler", who dismissed three English batsmen with consecutive deliveries at the Melbourne Cricket Ground. The most recent hat-trick was taken 
Title: List of Test cricket hat-tricks
Content:  take a hat-trick in the same Test match. Indian pacer Irfan Pathan is the only bowler to take a hat-trick in the first over of a Test match, against Pakistan in 2006. This also makes it the most aggregated average of the three batsmen. Australian Merv Hughes is the only bowler to take a hat-trick where the wickets fell over three overs. He took a wicket (Curtly Ambrose) with the final ball of an over. With the first ball of his next over he took the final wicket of the West Indies innings (Patrick Patterson). He then removed the opener Gordon Greenidge with the first ball of the West 
Title: Second Test, 2000–01 Border–Gavaskar Trophy
Content:  Waugh to make it 236/4; he then proceeded to take the first ever international test hat-trick by an Indian bowler as he dismissed Ponting, Glichrist and Warne off successive deliveries. Ricky Ponting was the first to go, beaten by one pushed quicker through the air. Gilchrist was adjudged lbw off a similar delivery but had cause to be aggrieved; replays showed the ball pitched well outside legstump and that he had some bat on the ball. With Harbhajan on a hattrick, Shane Warne was surrounded by men around the bat, with Sadagopan Ramesh at short leg the man who eventually claimed the catch from a tentative prod. 
Title: 1912 Triangular Tournament
Content:  Perhaps the most notable incident of the series was Australian bowler Jimmy Matthews taking two hat-tricks in the same Test match, one in each innings of the opening match against South Africa, the only time a bowler has taken two hat-tricks in the same Test.
Title: Border–Gavaskar Trophy
Content:  the first Test hat-trick by an Indian bowler in 69 years of Indian cricketing history. India's woes continued, being dismissed for only 171, with McGrath taking 4–18. Australia enforced the follow-on and, at the end of day 3, India were 254/4, still 20 runs behind forcing Australia to bat again. For many spectators, commentators, and even players, the match and the series were as good as lost for India. The fourth day saw the turnaround. V.V.S. Laxman and Rahul Dravid batted the entire day, never offering a chance, and ran the Australian fielders ragged as Waugh called on nine different bowlers to 
Title: Hat-trick (cricket)
Content:  In Test cricket history there have been just 46 hat-tricks, the first achieved by Fred Spofforth for Australia against England in 1879. In 1912, Australian Jimmy Matthews achieved the feat twice in one game against South Africa. The only other players to achieve two hat-tricks are Australia's Hugh Trumble, against England in 1902 and 1904, Pakistan's Wasim Akram, in separate games against Sri Lanka in 1999, and England's Stuart Broad in 2011 and 2014. Nuwan Zoysa of Sri Lanka is the only bowler to achieve a hat-trick with his first three balls in a Test, against Zimbabwe in 1999. In 2006, Irfan Pathan of India achieved a hat-trick in the first over of a Test match against Pakistan. Australian fast bowler Peter Siddle took a hat-trick in an Ashes test match against England on 25 November 2010, Siddle’s 26th birthday. The event became a well-renowned part of Australian cricket culture, being known as "Siddle’s hat-trick on his birthday", subsequently achieving cult status and being referred to by some as an internet meme.
Title: List of Test cricket hat-tricks
Content:  South Africa's spin bowler Keshav Maharaj against the West Indies in June 2021 at Daren Sammy Cricket Ground in Gros Islet, Saint Lucia. A player has taken two hat-tricks in the same Test match only once. Playing for Australia against South Africa in the first match of the 1912 Triangular Tournament at Old Trafford, Manchester, England, leg spinner Jimmy Matthews took a hat-trick in South Africa's first and second innings, both taken on 28 May 1912. He completed both hat-tricks by dismissing South Africa's Tommy Ward. Only three other cricketers have taken more than one Test hat-trick: Australian off spinner Hugh Trumble (two years apart, between the same teams at 
Title: Hat-trick (cricket)
Content:  Some hat-tricks are particularly extraordinary. On 2 December 1988, Merv Hughes, playing for Australia, dismissed Curtly Ambrose with the last ball of his penultimate over and Patrick Patterson with the first ball of his next over, wrapping up the West Indies first innings. When Hughes returned to bowl in the West Indies second innings, he trapped Gordon Greenidge lbw with his first ball, completing a hat-trick over two different innings and becoming the only player in Test cricket history to achieve the three wickets of a hat-trick in three different overs. In 1844, underarm bowler William Clarke, playing for "England" against Kent, achieved a hat-trick spread over two innings, 
Title: Billy Bates
Content:  scoring 55 in England's only innings before taking 7 for 28 (including a hat-trick) to force Australia to follow on. He then claimed 7 for 74 in the second innings to help his team to the first-ever innings victory in Test cricket. Bates set several individual records in this game as his hat-trick was the first for England in Test cricket, and his return of 7 for 28, and his match tally of 14 wickets, were then the best-ever by a Test match bowler. In addition, no Test bowler had previously taken 10 or more wickets and scored a half-century in the same match. In domestic cricket, Bates topped 100 first-class wickets only once, when he took 121 in 1881, but he 
Title: List of Test cricket hat-tricks
Content:  second innings. Even more unusually, Hughes's two first-innings wickets were not consecutive, since Tim May had bowled an over himself in between Hughes's two deliveries, and took the wicket of Gus Logie. Two other hat-tricks have taken place over two innings rather than one, both taken by West Indians against Australia—Courtney Walsh and Jermaine Lawson. Walsh's was unusual since, like Hughes's (which was in the very next Test in the series), other wickets fell between the beginning and end of the hat-trick. After dismissing Dodemaide to finish off Australia's first innings, Walsh did not open the bowling in the Australian second innings, and in fact did not bowl until 

Question: bowler to take hattrick in both inning in test match?
Answer: leg spinner Jimmy Matthews.
Jimmy Matthews.