Getting info from a poker hand history file

Hi!

Im verry new to coding and as my first personal project I would like to build a tool in Python that returns pokerhands from opponents from a pokerhand history folder. A single pokerhand is written the folowing way.

PokerStars Hand #224916765865: Tournament #3148451641, $9.80+$1.20 USD Hold’em No Limit - Level XVII (500/1000) - 2021/03/18 0:05:51 CET [2021/03/17 19:05:51 ET]
Table ‘3148451641 30’ 8-max Seat #6 is the button
Seat 1: LuiisNTC (20570 in chips)
Seat 2: maxkul (12682 in chips)
Seat 3: Dal2912 (11186 in chips)
Seat 4: rodrigobaco (169109 in chips)
Seat 6: thekipster7 (31019 in chips)
Seat 7: hans147 (10799 in chips)
Seat 8: jiddeman (20926 in chips)
LuiisNTC: posts the ante 125
maxkul: posts the ante 125
Dal2912: posts the ante 125
rodrigobaco: posts the ante 125
thekipster7: posts the ante 125
hans147: posts the ante 125
jiddeman: posts the ante 125
hans147: posts small blind 500
jiddeman: posts big blind 1000
*** HOLE CARDS ***
Dealt to hans147 [Ad Ah]
LuiisNTC: folds
maxkul: folds
Dal2912: raises 2000 to 3000
rodrigobaco: folds
thekipster7: folds
hans147: raises 7674 to 10674 and is all-in
jiddeman: folds
Dal2912: calls 7674
*** FLOP *** [6c 9c 4c]
*** TURN *** [6c 9c 4c] [5h]
*** RIVER *** [6c 9c 4c 5h] [Jd]
*** SHOW DOWN ***
hans147: shows [Ad Ah] (a pair of Aces)
Dal2912: shows [Ac Qc] (a flush, Ace high)
Dal2912 collected 23223 from pot
hans147 finished the tournament in 42nd place and received $25.80.
*** SUMMARY ***
Total pot 23223 | Rake 0
Board [6c 9c 4c 5h Jd]
Seat 1: LuiisNTC folded before Flop (didn’t bet)
Seat 2: maxkul folded before Flop (didn’t bet)
Seat 3: Dal2912 showed [Ac Qc] and won (23223) with a flush, Ace high
Seat 4: rodrigobaco folded before Flop (didn’t bet)
Seat 6: thekipster7 (button) folded before Flop (didn’t bet)
Seat 7: hans147 (small blind) showed [Ad Ah] and lost with a pair of Aces
Seat 8: jiddeman (big blind) folded before Flop

I want to write code that everytime there comes *** SHOW DOWN *** the program returns the holecards that are not from hans147 like in this case [Ac Qc]. Those hands are stored in a textfile and would also like to know how I can get those pieces of data from the file without copy pasting the whole thing in my code. Really exited to work on this and hope to get some good advise!

Documentation helps for this: 7. Input and Output — Python 3.9.2 documentation

and realpython.com I like the helper articles they put out: Reading and Writing Files in Python (Guide) – Real Python