I have this text
This is test 2019 -(dsd) g1-d2 720p test
This test 2019 - g1-d2 test
They are separate lines so not together
I am trying to catch all stuff between 2019 and 720p if present
(.+?) ([0-9]{4})(.+?)([0-9]{3,4}p)?(.*)
The problem is group (.+?) is only matching single character. i want it to match till 720p . if use non greedy then it match everything
The output i want is
G1: This is test
G2: 2019
G3: -(dsd) g1-d2
G4: 720p
G5: test

