regex = ^(movie|tv) (.*) (?<=season )([0-9 ]+)
input = tv game of thrones season 1 2 3
output
tv
game of thrones season
1 2 3
desired output
tv
game of thrones
1 2 3
https://regex101.com/r/wG3aM3/954
(.*) captures all string before ([0-9 ]+) how can i prevent it from capturing (?<=season ) which is before ([0-9 ]+).
P.S i cant just negate "season" from (.*) . i.e tv game of season season 1 2 3 should capture tv game of season 1 2 3