Hello ! I’m trying to extract certain lines of text from a list.
Exemple of the list :
Sample (2021) S01E01
Sample (2021) S01E02
Sample (2021) S01E03
Sample (2021) S01E04
I’m trying to extract only “Sample (2021) S01E02,Sample (2021) S01E04” using regex with this command : “Sample (2021) S01E02|Sample (2021) S01E04”
Normaly works if the text doenst cotains brackets in it.
How to match only those lines using regex ?